kt-mvvm / com.dukescript.api.kt / applyBindings

applyBindings

fun applyBindings(model: Provider, id: String? = null): Unit

Activates given Model in the current context.

Parameters

model - class with observable or computed properties and actions

id - optional id of a UI element to apply the model to