Root application which is used to start single instance of app.
Root application which is used to start single instance of app.
Should be a sealed trait which extends io.udash.core.State.
Use it to bind value of property into DOM structure.
Use it to bind value of property into DOM structure. Value of the property will be rendered as text node. (Using .toString method.) If property value is null, empty text node will be added.
Property to bind.
Modifier for bound property.
Use it to update DOM elements, on every property
change.
Use it to update DOM elements, on every property
change.
Property to listen.
Element attribute updater.
Modifier for bounded property.
Use in order to add validation logic over property.
Use in order to add validation logic over property. As this modifier listens on property validation results, user is able to customize what HTML elements should be shown.
Property to bind.
Builder which is called when validation process is started. It will also give you an access to future of validation results.
Builder which is called when validation process is completed. It will give an access to validation results.
Builder which is called, when validation process fails.
Modifier for validation logic.
Creates empty text node, which is useful as placeholder.
Creates empty text node, which is useful as placeholder.
Use it to bind sequence property into DOM structure, given initBuilder
will be used to generate DOM element at start.
Use it to bind sequence property into DOM structure, given initBuilder
will be used to generate DOM element at start.
Then it listens to structure change and calls elementsUpdater
to handle each structure change.
Note: This will handle only structure changes, if you want to handle concrete subproperties value changes, you should use
another binding method inside initBuilder
and elementsUpdater
.
Property to bind.
Element builder which will be used to create initial HTML element.
Function used to update element basing on patch.
Modifier for bounded property.
Use it to bind sequence property into DOM structure, given builder
will be used to generate DOM element on every value change.
Use it to bind sequence property into DOM structure, given builder
will be used to generate DOM element on every value change.
Notice that on every property change, whole element representing property will be rendered again.
Property to bind.
Element builder which will be used to create HTML element. Seq passed to the builder can not be null.
Modifier for bounded property.
Use it to bind property into DOM structure, given builder
will be used to generate DOM element on every value change.
Use it to bind property into DOM structure, given builder
will be used to generate DOM element on every value change.
Property to bind.
If it is true, then null value of property will result in rendering empty text node. If it is false, then null value has to be handled by builder.
Element builder which will be used to create HTML element.
Modifier for bounded property.
Use it to bind property into DOM structure, given builder
will be used to generate DOM element on every value change.
Use it to bind property into DOM structure, given builder
will be used to generate DOM element on every value change.
If property value is null, empty text node will be added as placeholder.
Property to bind.
Element builder which will be used to create HTML element.
Modifier for bounded property.
Use it to bind sequence property into DOM structure.
Use it to bind sequence property into DOM structure. This method cares about adding new elements which appears in
sequence and also removes those which were removed. You only need to provide builder which is used to
create HTML element for each sequence member.
Note: This will handle only structure changes, if you want to handle concrete subproperties changes, you should use
another binding method inside builder
.
Property to bind.
Builder which is used for every element.
Modifier for repeat logic.