kvision / pl.treksoft.kvision.form.time

Package pl.treksoft.kvision.form.time

Full-featured date and time input components.

Types

DateTime

open class DateTime : SimplePanel, DateFormControl

Form field date/time chooser component.

DateTimeInput

open class DateTimeInput : SimplePanel, FormInput

Basic date/time chooser component.

Functions

dateTime

fun Container.dateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: (DateTime.() -> Unit)? = null): DateTime

DSL builder extension function.

dateTimeInput

fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput

DSL builder extension function.