FormInput

interface FormInput : Component

Functions

addAfterDestroyHook
Link copied to clipboard
js
abstract fun addAfterDestroyHook(hook: () -> Unit): Boolean
The supplied function is called after the component is removed from the DOM.
addAfterInsertHook
Link copied to clipboard
js
abstract fun addAfterInsertHook(hook: (<ERROR CLASS>) -> Unit): Boolean
The supplied function is called after the component is inserted into the DOM.
addBeforeDisposeHook
Link copied to clipboard
js
abstract fun addBeforeDisposeHook(hook: () -> Unit): Boolean
The supplied function is called before the component is disposed.
addCssClass
Link copied to clipboard
js
abstract fun addCssClass(css: String): Component
Adds given value to the set of CSS classes generated in html code of current component.
addCssStyle
Link copied to clipboard
js
abstract fun addCssStyle(css: Style): Component
Adds given style object to the set of CSS classes generated in html code of current component.
addSurroundingCssClass
Link copied to clipboard
js
abstract fun addSurroundingCssClass(css: String): Component
Adds given value to the set of CSS classes generated in html code of parent component.
addSurroundingCssStyle
Link copied to clipboard
js
abstract fun addSurroundingCssStyle(css: Style): Component
Adds given style object to the set of CSS classes generated in html code of parent component.
blur
Link copied to clipboard
js
open fun blur()
Makes the element blur.
focus
Link copied to clipboard
js
open fun focus()
Makes the element focused.
getAttribute
Link copied to clipboard
js
abstract fun getAttribute(name: String): String?
Returns the value of an additional attribute.
getElement
Link copied to clipboard
js
abstract fun getElement(): <ERROR CLASS>?
Returns DOM element bound to the current component.
getElementJQuery
Link copied to clipboard
js
abstract fun getElementJQuery(): <ERROR CLASS>?
Returns JQuery element bound to the current component.
getElementJQueryD
Link copied to clipboard
js
abstract fun getElementJQueryD(): dynamic
Returns JQuery element bound to the current component as a dynamic type.
hasCssClass
Link copied to clipboard
js
abstract fun hasCssClass(css: String): Boolean
Checks whether the given value is present in the set of CSS classes.
removeAttribute
Link copied to clipboard
js
abstract fun removeAttribute(name: String): Component
Removes the value of additional attribute.
removeCssClass
Link copied to clipboard
js
abstract fun removeCssClass(css: String): Component
Removes given value from the set of CSS classes generated in html code of current component.
removeCssStyle
Link copied to clipboard
js
abstract fun removeCssStyle(css: Style): Component
Removes given style object from the set of CSS classes generated in html code of current component.
removeSurroundingCssClass
Link copied to clipboard
js
abstract fun removeSurroundingCssClass(css: String): Component
Removes given value from the set of CSS classes generated in html code of parent component.
removeSurroundingCssStyle
Link copied to clipboard
js
abstract fun removeSurroundingCssStyle(css: Style): Component
Removes given style object from the set of CSS classes generated in html code of parent component.
setAttribute
Link copied to clipboard
js
abstract fun setAttribute(name: String, value: String): Component
Sets the value of additional attribute.
singleRender
Link copied to clipboard
js
abstract fun <T> singleRender(block: () -> T): T
Executes given function within a single rendering process.
singleRenderAsync
Link copied to clipboard
js
abstract fun singleRenderAsync(block: () -> Unit)
Executes given function within a single rendering process asynchronously.

Properties

disabled
Link copied to clipboard
js
abstract var disabled: Boolean
Determines if the field is disabled.
name
Link copied to clipboard
js
abstract var name: String?
The name attribute of the generated HTML input element.
parent
Link copied to clipboard
js
abstract var parent: Container?
Parent of the current component.
size
Link copied to clipboard
js
abstract var size: InputSize?
Input control field size.
validationStatus
Link copied to clipboard
js
abstract var validationStatus: ValidationStatus?
Input control validation status.
visible
Link copied to clipboard
js
abstract var visible: Boolean
Visibility state of the current component.

Inheritors

DateTimeInput
Link copied to clipboard
SelectInput
Link copied to clipboard
SimpleSelectInput
Link copied to clipboard
SpinnerInput
Link copied to clipboard
AbstractTextInput
Link copied to clipboard
UploadInput
Link copied to clipboard
OnsDateTimeInput
Link copied to clipboard
OnsNumberInput
Link copied to clipboard
OnsRadioGroupInput
Link copied to clipboard
CheckInput
Link copied to clipboard
GenericRadioGroupInput
Link copied to clipboard
RangeInput
Link copied to clipboard