bindSync
An extension function which binds the widget to the given ballast view model synchronously. It's less efficient than bind, but fully compatible with KVision 4 state bindings.
Parameters
the inputs type
the events type
the state type
the widget type
the ballast view model instance
remove all children of the component
whether to run factory function immediately with the current state
a function which re-creates the view based on the given state
An extension function which binds the widget to the given ballast view model synchronously using the sub extractor function. It's less efficient than bind, but fully compatible with KVision 4 state bindings.
Parameters
the inputs type
the events type
the state type
the sub state type
the widget type
the ballast view model instance
an extractor function
remove all children of the component
whether to run factory function immediately with the current state
a function which re-creates the view based on the given state