Optional
allowIf true
then the label can be clicked to select text. Defaults to false
.
Optional
bindingA binding to use with this Element.
Optional
classThe class attribute of this Element's HTMLElement.
Optional
domThe DOM element or its type to use for this component. Defaults to 'span'.
Optional
enabledSets whether it is possible to interact with this Element and its children.
Optional
errorSets whether the Element is in an error state.
Optional
flexSets whether the element uses flex layout.
Optional
flexSets the element's flexBasis
CSS property.
Optional
flexSets the element's flexDirection
CSS property.
Optional
flexSets the element's flexGrow
CSS property.
Optional
flexSets the element's flexShrink
CSS property.
Optional
flexSets the element's flexWrap
CSS property.
Optional
heightSets the initial height of the Element.
Optional
hiddenSets whether this Element is hidden. Defaults to false
.
Optional
idThe id attribute of this Element's HTMLElement.
Optional
ignoreIf true
, this Element will ignore its parent's enabled value when determining whether this element is enabled. Defaults to false
.
Optional
isSets whether this Element is at the root of the hierarchy.
Optional
linkLinks the observer attribute at the path location in the given observer to this Element.
Optional
nativeIf true
then use the text of the label as the native HTML tooltip. Defaults to false
.
Optional
onIf provided and the Element is changeable, this function will be called each time the element value is changed.
Optional
onIf provided and the Element is clickable, this function will be called each time the element is clicked.
Optional
onIf provided and the Element is removable, this function will be called each time the element is removed.
Optional
parentSets the parent Element.
Optional
placeholderSets the placeholder label that appears on the right of the input.
Optional
readWhether this Element is read only or not. Defaults to false
.
Optional
renderIf true
each input will flash on changes.
Optional
styleSets an initial value for Element.dom.style.
Optional
tabSets the tabIndex of the Element.
Optional
textSets the text of the Label. Defaults to ''.
Optional
unsafeIf true
, the innerHTML property will be
used to set the text. Otherwise, textContent
will be used instead. Defaults to false
.
Optional
valueSets the value of the Label. Defaults to ''.
Optional
valuesSets multiple values to the Element. It is up to the Element to determine how to display them.
Optional
widthSets the initial width of the Element.
The arguments for the Label constructor.