IntlDatetimeEditor
Members
EDITOR_TYPE
IntlDatetimeEditor.EDITOR_TYPE
Returns the unique editor type identifier for the intl-datetime editor.
Methods
createElements
intlDatetimeEditor.createElements()
Creates the editor’s element as a native datetime-local input that shows seconds.
focus
intlDatetimeEditor.focus()
Selects all text in the input element when the editor receives focus.
getValue
intlDatetimeEditor.getValue()
Returns the editor value, canonicalizing to YYYY-MM-DDTHH:mm:ss (native input may omit seconds).
init
intlDatetimeEditor.init()
Initializes the editor and registers an afterSetTheme hook to close on theme changes.
open
intlDatetimeEditor.open()
Opens the editor and programmatically invokes the native picker via showPicker().
prepare
intlDatetimeEditor.prepare()
Prepares the editor, replacing the display value with the raw ISO source data for the native input.
setValue
intlDatetimeEditor.setValue()
Sets the editor value, normalizing to the YYYY-MM-DDTHH:mm:ss form the native input expects,
and warns if the value is not a valid ISO date-time string.