Textarea.Attr Type

A list of children or a property for this dash component

Union cases

Union case Description

Children DashComponent list

Full Usage: Children DashComponent list

Parameters:
Item : DashComponent list

Prop Prop

Full Usage: Prop Prop

Parameters:
Item : Prop

Static members

Static member Description

Attr.accessKey p

Full Usage: Attr.accessKey p

Parameters:
    p : string

Returns: Attr

Defines a keyboard shortcut to activate or add focus to the element.

p : string
Returns: Attr

Attr.autoFocus p

Full Usage: Attr.autoFocus p

Parameters:
    p : string

Returns: Attr

The element should be automatically focused after the page loaded.

p : string
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : seq<DashComponent>
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : DashComponent list
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : DashComponent
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
Returns: Attr

The child or children of this dash component

value : Guid
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : float

Returns: Attr

The child or children of this dash component

value : float
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : string

Returns: Attr

The child or children of this dash component

value : string
Returns: Attr

Attr.children value

Full Usage: Attr.children value

Parameters:
    value : int

Returns: Attr

The child or children of this dash component

value : int
Returns: Attr

Attr.className p

Full Usage: Attr.className p

Parameters:
    p : string

Returns: Attr

Often used with CSS to style elements with common properties.

p : string
Returns: Attr

Attr.cols p

Full Usage: Attr.cols p

Parameters:
    p : int

Returns: Attr

Defines the number of columns in a textarea.

p : int
Returns: Attr

Attr.contentEditable p

Full Usage: Attr.contentEditable p

Parameters:
    p : bool

Returns: Attr

Indicates whether the element's content is editable.

p : bool
Returns: Attr

Attr.contextMenu p

Full Usage: Attr.contextMenu p

Parameters:
    p : string

Returns: Attr

Defines the ID of a

element which will serve as the element's context menu.

p : string
Returns: Attr

Attr.dir p

Full Usage: Attr.dir p

Parameters:
    p : string

Returns: Attr

Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)

p : string
Returns: Attr

Attr.disabled p

Full Usage: Attr.disabled p

Parameters:
    p : bool

Returns: Attr

Indicates whether the user can interact with the element.

p : bool
Returns: Attr

Attr.draggable p

Full Usage: Attr.draggable p

Parameters:
    p : bool

Returns: Attr

Defines whether the element can be dragged.

p : bool
Returns: Attr

Attr.form p

Full Usage: Attr.form p

Parameters:
    p : string

Returns: Attr

Indicates the form that is the owner of the element.

p : string
Returns: Attr

Attr.hidden p

Full Usage: Attr.hidden p

Parameters:
    p : string

Returns: Attr

Prevents rendering of given element, while keeping child elements, e.g. script elements, active.

p : string
Returns: Attr

Attr.lang p

Full Usage: Attr.lang p

Parameters:
    p : string

Returns: Attr

Defines the language used in the element.

p : string
Returns: Attr

Attr.loadingState p

Full Usage: Attr.loadingState p

Parameters:
Returns: Attr

Object that holds the loading state object coming from dash-renderer

p : LoadingState
Returns: Attr

Attr.maxLength p

Full Usage: Attr.maxLength p

Parameters:
    p : int

Returns: Attr

Defines the maximum number of characters allowed in the element.

p : int
Returns: Attr

Attr.minLength p

Full Usage: Attr.minLength p

Parameters:
    p : int

Returns: Attr

Defines the minimum number of characters allowed in the element.

p : int
Returns: Attr

Attr.nBlur p

Full Usage: Attr.nBlur p

Parameters:
Returns: Attr

Number of times the textarea lost focus.

p : IConvertible
Returns: Attr

Attr.nBlurTimestamp p

Full Usage: Attr.nBlurTimestamp p

Parameters:
Returns: Attr

Last time the textarea lost focus.

p : IConvertible
Returns: Attr

Attr.nClicks p

Full Usage: Attr.nClicks p

Parameters:
Returns: Attr

Number of times the textarea has been clicked.

p : IConvertible
Returns: Attr

Attr.nClicksTimestamp p

Full Usage: Attr.nClicksTimestamp p

Parameters:
Returns: Attr

Last time the textarea was clicked.

p : IConvertible
Returns: Attr

Attr.name p

Full Usage: Attr.name p

Parameters:
    p : string

Returns: Attr

Name of the element. For example used by the server to identify the fields in form submits.

p : string
Returns: Attr

Attr.persistedProps p

Full Usage: Attr.persistedProps p

Parameters:
    p : string[]

Returns: Attr

Properties whose user interactions will persist after refreshing the component or the page. Since only `value` is allowed this prop can normally be ignored.

p : string[]
Returns: Attr

Attr.persistence p

Full Usage: Attr.persistence p

Parameters:
Returns: Attr

Used to allow user interactions in this component to be persisted when the component - or the page - is refreshed. If `persisted` is truthy and hasn't changed from its previous value, a `value` that the user has changed while using the app will keep that change, as long as the new `value` also matches what was given originally. Used in conjunction with `persistence_type`.

p : IConvertible
Returns: Attr

Attr.persistence p

Full Usage: Attr.persistence p

Parameters:
    p : string

Returns: Attr

Used to allow user interactions in this component to be persisted when the component - or the page - is refreshed. If `persisted` is truthy and hasn't changed from its previous value, a `value` that the user has changed while using the app will keep that change, as long as the new `value` also matches what was given originally. Used in conjunction with `persistence_type`.

p : string
Returns: Attr

Attr.persistence p

Full Usage: Attr.persistence p

Parameters:
    p : bool

Returns: Attr

Used to allow user interactions in this component to be persisted when the component - or the page - is refreshed. If `persisted` is truthy and hasn't changed from its previous value, a `value` that the user has changed while using the app will keep that change, as long as the new `value` also matches what was given originally. Used in conjunction with `persistence_type`.

p : bool
Returns: Attr

Attr.persistenceType p

Full Usage: Attr.persistenceType p

Parameters:
Returns: Attr

Where persisted user changes will be stored: memory: only kept in memory, reset on page refresh. local: window.localStorage, data is kept after the browser quit. session: window.sessionStorage, data is cleared once the browser quit.

p : PersistenceTypeOptions
Returns: Attr

Attr.placeholder p

Full Usage: Attr.placeholder p

Parameters:
    p : string

Returns: Attr

Provides a hint to the user of what can be entered in the field.

p : string
Returns: Attr

Attr.readOnly p

Full Usage: Attr.readOnly p

Parameters:
    p : bool

Returns: Attr

Indicates whether the element can be edited. readOnly is an HTML boolean attribute - it is enabled by a boolean or 'readOnly'. Alternative capitalizations `readonly` & `READONLY` are also acccepted.

p : bool
Returns: Attr

Attr.required p

Full Usage: Attr.required p

Parameters:
    p : bool

Returns: Attr

Indicates whether this element is required to fill out or not. required is an HTML boolean attribute - it is enabled by a boolean or 'required'. Alternative capitalizations `REQUIRED` are also acccepted.

p : bool
Returns: Attr

Attr.rows p

Full Usage: Attr.rows p

Parameters:
    p : int

Returns: Attr

Defines the number of rows in a text area.

p : int
Returns: Attr

Attr.spellCheck p

Full Usage: Attr.spellCheck p

Parameters:
    p : bool

Returns: Attr

Indicates whether spell checking is allowed for the element.

p : bool
Returns: Attr

Attr.style p

Full Usage: Attr.style p

Parameters:
Returns: Attr

Defines CSS styles which will override styles previously set.

p : seq<Style>
Returns: Attr

Attr.tabIndex p

Full Usage: Attr.tabIndex p

Parameters:
Returns: Attr

Overrides the browser's default tab order and follows the one specified instead.

p : IConvertible
Returns: Attr

Attr.tabIndex p

Full Usage: Attr.tabIndex p

Parameters:
    p : string

Returns: Attr

Overrides the browser's default tab order and follows the one specified instead.

p : string
Returns: Attr

Attr.title p

Full Usage: Attr.title p

Parameters:
    p : string

Returns: Attr

Text to be displayed in a tooltip when hovering over the element.

p : string
Returns: Attr

Attr.value p

Full Usage: Attr.value p

Parameters:
    p : string

Returns: Attr

The value of the textarea

p : string
Returns: Attr

Attr.wrap p

Full Usage: Attr.wrap p

Parameters:
    p : string

Returns: Attr

Indicates whether the text should be wrapped.

p : string
Returns: Attr