kvision / pl.treksoft.kvision.form.time

Package pl.treksoft.kvision.form.time

Full-featured date and time input components.

Types

(js)

DateTime

Form field date/time chooser component.

open class DateTime : SimplePanel, DateFormControl, ObservableState<Date?>
(js)

DateTimeInput

Basic date/time chooser component.

open class DateTimeInput : SimplePanel, FormInput, ObservableState<Date?>

Functions

(js)

dateTime

DSL builder extension function.

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
(js)

dateTimeInput

DSL builder extension function.

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