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.
(Since version 0.6.0) Renamed to StaticViewFactory
.
(Since version 0.6.0) Use io.udash.logging.CrossLogging
instead.
(Since version 0.6.0) Use ContainerViewFactory
, FinalViewFactory
or ViewFactory
instead.
(Since version 0.6.0) Renamed to ViewFactoryRegistry
.
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.
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 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.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
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 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.
If property value is null, empty text node will be added as placeholder.
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 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.
The builder takes nested bindings interceptor - it should be used if you want to create another binding inside
this builder. This prevents memory leaks by killing nested bindings on property change.
Property to bind.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
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 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.
The builder takes nested bindings interceptor - it should be used if you want to create another binding inside
this builder. This prevents memory leaks by killing nested bindings on property change.
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.
If property value is null, empty text node will be added as placeholder.
The builder takes nested bindings interceptor - it should be used if you want to create another binding inside
this builder. This prevents memory leaks by killing nested bindings on property change.
For example:
produceWithNested(property) { case (data, nested) => div(data, nested(produce(anotherProperty) { innerData => span(innerData).render }) ).render }
Property to bind.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
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.
The builder takes nested bindings interceptor - it should be used if you want to create another binding inside
this builder. This prevents memory leaks by killing nested bindings on property change.
For example:
produceWithNested(property) { case (data, nested) => div(data, nested(produce(anotherProperty) { innerData => span(innerData).render }) ).render }
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.
Renders component with provided timeout.
Renders component with provided timeout. It's useful to render heavy components after displaying the main view.
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.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
Takes root element, ref node and new children. It should return true
,
if it does not insert elements in DOM. Is such a case the default implementation
will insert the elements. Otherwise you have to insert elements in DOM manually.
Builder which is used for every element.
Modifier for repeat logic.
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. This modifier provides also property with element index in sequence.
Note: This will handle only structure changes, if you want to handle concrete subproperties changes, you should use
another binding method inside builder
.
The builder takes nested bindings interceptor - it should be used if you want to create another binding inside
this builder. This prevents memory leaks by killing nested bindings on property change.
Property to bind.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
Takes root element, ref node and new children. It should return true
,
if it does not insert elements in DOM. Is such a case the default implementation
will insert the elements. Otherwise you have to insert elements in DOM manually.
Builder which is used for every element.
Modifier for repeat logic.
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
.
The builder takes nested bindings interceptor - it should be used if you want to create another binding inside
this builder. This prevents memory leaks by killing nested bindings on property change.
Property to bind.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
Takes root element, ref node and new children. It should return true
,
if it does not insert elements in DOM. Is such a case the default implementation
will insert the elements. Otherwise you have to insert elements in DOM manually.
Builder which is used for every element.
Modifier for repeat logic.
Shows provided DOM elements only if property value is true
.
Shows provided DOM elements only if property value is true
.
Property to check.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
Elements to show if property value is true
.
Modifier for bounded property.
Shows provided DOM elements only if property value is true
.
Shows provided DOM elements only if property value is true
.
Property to check.
Elements to show if property value is true
.
Modifier for bounded property.
Switches provided DOM elements depending on property value.
Switches provided DOM elements depending on property value.
Property to check.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
Elements to show if property value is true
.
Elements to show if property value is false
.
Modifier for bounded property.
Switches provided DOM elements depending on property value.
Switches provided DOM elements depending on property value.
Property to check.
Elements to show if property value is true
.
Elements to show if property value is false
.
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 completed. It will give an access to validation results.
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 fails.
Modifier for validation logic.
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.
The builders take nested bindings interceptor - it should be used if you want to create another binding inside
this builder. This prevents memory leaks by killing nested bindings on property change.
Property to bind.
Builder which is called when validation process is completed. It will give an access to validation results.
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 fails.
Takes root element, old children and new children. It should return true
,
if it did not replace elements in DOM. Is such a case the default implementation
will replace the elements. Otherwise you have to replace elements in DOM manually.
Modifier for validation logic.
(Since version 0.7.0) The application should not directly depend on URL fragment.
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.
(Since version 0.4.0) Use Attr.bind
, AttrPair.attrIf
or Property.reactiveApply
instead.
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.
(Since version 0.4.0) Use valid
instead.