StringFormControl

Properties

Link copied to clipboard
open var disabled: Boolean

Determines if the field is disabled.

Link copied to clipboard
abstract val flabel: FieldLabel

Form field label.

Link copied to clipboard
abstract val input: FormInput

The actual input component.

Link copied to clipboard

Invalid feedback component.

Link copied to clipboard
open var name: String?

The name attribute of the generated HTML input element.

Link copied to clipboard
abstract var parent: Container?

Parent of the current component.

Link copied to clipboard
open var size: InputSize?

Input control field size.

Link copied to clipboard

Input control validation status.

Link copied to clipboard

Validator error message.

Link copied to clipboard
abstract var value: String?

Generic value.

Link copied to clipboard
abstract var visible: Boolean

Visibility state of the current component.

Functions

Link copied to clipboard
abstract fun addAfterCreateHook(hook: (VNode) -> Unit): Boolean

The supplied function is called after the component DOM element is created.

Link copied to clipboard
abstract fun addAfterDestroyHook(hook: () -> Unit): Boolean

The supplied function is called after the component is removed from the DOM.

Link copied to clipboard
abstract fun addAfterInsertHook(hook: (VNode) -> Unit): Boolean

The supplied function is called after the component is inserted into the DOM.

Link copied to clipboard
abstract fun addBeforeDisposeHook(hook: () -> Unit): Boolean

The supplied function is called before the component is disposed.

Link copied to clipboard
Link copied to clipboard
fun Component.addBsBorder(vararg bsBorder: BsBorder)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Component.addBsRounded(vararg bsRounded: BsRounded)
Link copied to clipboard
abstract fun addCssClass(css: String)

Adds given value to the set of CSS classes generated in html code of current component.

Link copied to clipboard
abstract fun addCssStyle(css: Style)

Adds given style object to the set of CSS classes generated in html code of current component.

Link copied to clipboard
abstract fun addSurroundingCssClass(css: String)

Adds given value to the set of CSS classes generated in html code of parent component.

Link copied to clipboard
abstract fun addSurroundingCssStyle(css: Style)

Adds given style object to the set of CSS classes generated in html code of parent component.

Link copied to clipboard
open fun blur()

Makes the element blur.

Link copied to clipboard
abstract fun clearAfterCreateHooks()

Remove all after create hooks functions.

Link copied to clipboard
abstract fun clearAfterDestroyHooks()

Remove all after destroy hooks functions.

Link copied to clipboard
abstract fun clearAfterInsertHooks()

Remove all after insert hooks functions.

Link copied to clipboard

Remove all before dispose hooks functions.

Link copied to clipboard
open fun focus()

Makes the element focused.

Link copied to clipboard
abstract fun getAttribute(name: String): String?

Returns the value of an additional attribute.

Link copied to clipboard
abstract fun getElement(): <Error class: unknown class>?

Returns DOM element bound to the current component.

Link copied to clipboard
abstract fun getElementD(): dynamic

Returns DOM element bound to the current component as a dynamic type.

Link copied to clipboard
fun Component.getElementJQuery(): <Error class: unknown class>?

Returns JQuery element bound to the current component.

Link copied to clipboard

Returns JQuery element bound to the current component as a dynamic type.

Link copied to clipboard
open override fun getValue(): String?

Returns the value of the control.

Link copied to clipboard
open override fun getValueAsString(): String?

Returns the value of the control as a String.

Link copied to clipboard
abstract fun hasCssClass(css: String): Boolean

Checks whether the given value is present in the set of CSS classes.

Link copied to clipboard
abstract fun removeAfterCreateHook(hook: (VNode) -> Unit): Boolean

Remove the after create hook function (the same function reference must be used).

Link copied to clipboard
abstract fun removeAfterDestroyHook(hook: () -> Unit): Boolean

Remove the after destroy hook function (the same function reference must be used).

Link copied to clipboard
abstract fun removeAfterInsertHook(hook: (VNode) -> Unit): Boolean

Remove the after insert hook function (the same function reference must be used).

Link copied to clipboard
abstract fun removeAttribute(name: String)

Removes the value of additional attribute.

Link copied to clipboard
abstract fun removeBeforeDisposeHook(hook: () -> Unit): Boolean

Remove the before dispose hook function (the same function reference must be used).

Link copied to clipboard
Link copied to clipboard
fun Component.removeBsBorder(vararg bsBorder: BsBorder)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Component.removeBsRounded(vararg bsRounded: BsRounded)
Link copied to clipboard
abstract fun removeCssClass(css: String)

Removes given value from the set of CSS classes generated in html code of current component.

Link copied to clipboard
abstract fun removeCssStyle(css: Style)

Removes given style object from the set of CSS classes generated in html code of current component.

Link copied to clipboard

Removes given value from the set of CSS classes generated in html code of parent component.

Link copied to clipboard
abstract fun removeSurroundingCssStyle(css: Style)

Removes given style object from the set of CSS classes generated in html code of parent component.

Link copied to clipboard
abstract fun setAttribute(name: String, value: String)

Sets the value of additional attribute.

Link copied to clipboard
open override fun setValue(v: Any?)

Sets the value of the control.

Link copied to clipboard
abstract fun <T> singleRender(block: () -> T): T

Executes given function within a single rendering process.

Link copied to clipboard
abstract fun singleRenderAsync(block: () -> Unit)

Executes given function within a single rendering process asynchronously.

Link copied to clipboard

Style form control element for horizontal form panel.

Link copied to clipboard

Style form control element for inline form panel.

Link copied to clipboard

Style form control element for vertical form panel.

Link copied to clipboard
abstract fun subscribe(observer: (String?) -> Unit): () -> Unit