Package-level declarations

Types

Link copied to clipboard

Attribute names of <vaadin-time-picker>, for use with setAttribute.

Link copied to clipboard

<vaadin-time-picker> is a Web Component providing a time-selection field.

Link copied to clipboard

Typed event names of <vaadin-time-picker>, for use with addEventHandler.

Link copied to clipboard

A mixin providing common time-picker functionality.

Link copied to clipboard

The values exported by @vaadin/time-picker/src/vaadin-time-picker-mixin.js.

Functions

Link copied to clipboard

Creates a <vaadin-time-picker> element. The custom element is registered on first use.

Link copied to clipboard
external fun formatISOTime(time: JsAny): String

A function to format given Object as time string. Object is in the format { hours: ..., minutes: ..., seconds: ..., milliseconds: ... }

Link copied to clipboard
external fun parseISOTime(timeString: String): JsAny?

A function to parse the given string to an Object in the format { hours: ..., minutes: ..., seconds: ..., milliseconds: ... }.

Link copied to clipboard

Imports @vaadin/time-picker/src/vaadin-time-picker.js, registering <vaadin-time-picker>, and returns the element class.

Link copied to clipboard
external fun validateTime(timeObject: JsAny, step: Double): JsAny?

A function to validate the time object based on the given step.