Date/Time Props

Hierarchy

  • IDateTimeProps

Properties

assignTo?: ((obj) => void)

Type declaration

    • (obj): void
    • Assigns the object to the input parameter.

      Parameters

      Returns void

className?: string

The class name to apply to the element.

disabled?: boolean

True to disable the date/time plugin

el?: HTMLElement

The element to render the form to.

label?: string

The date/time label.

onChange?: ((value) => void)

Type declaration

    • (value): void
    • The change event.

      Parameters

      • value: string

      Returns void

options?: any

The flatpickr options.

showTime?: boolean

Flag to display the time.

value?: string

The date/time value.

Generated using TypeDoc