kvision / pl.treksoft.kvision.form / FormPanel / <init>

<init>

FormPanel(type: FormType? = null, classes: Set<String> = setOf(), modelFactory: (Map<String, Any?>) -> K)

Parameters

K - model class type

type - form layout

classes - set of CSS class names

modelFactory - function transforming a Map<String, Any?> to a data model of class K

Constructor