Form Properties
interface FormProperties
Content copied to clipboard
This interface add typical state properties for en- or disabling form components.
As it often depends on the specific use case, the two complementary properties disabled and enabled are both offered. This is primarily for better readability at client side code.
example usage:
// apply interface to component class
open class MyControl : FormProperties by FormMixin() {
}
// use the property offered by the interface
val disable = storeOf(true)
myControl {
disabled(disable.value)
}
// and instead of double negative expression ``val disable = storeOf(false)`` better use:
val enable = storeOf(false)
myControl {
enabled(enable.value)
}
Functions
Properties
disabled
Link copied to clipboard
Inheritors
PushButtonComponent
Link copied to clipboard
FormMixin
Link copied to clipboard
InputFormProperties
Link copied to clipboard
SubMenuComponent
Link copied to clipboard
MenuEntry
Link copied to clipboard
MenuLink
Link copied to clipboard
SliderComponent
Link copied to clipboard