kvision / pl.treksoft.kvision.data / DataContainer / dataContainer

dataContainer

fun <M : DataComponent, C : Component> Container.dataContainer(model: ObservableList<M>, binding: (Int) -> C, child: Container = VPanel(), init: DataContainer<M, C>.() -> Unit = null): DataContainer<M, C>

DSL builder extension function.

It takes the same parameters as the constructor of the built component.