Date/Time

Hierarchy

  • IDateTime

Properties

el: HTMLDivElement

The date/time picker element.

flatpickrObj: any

The flatpickr object.

getDate: (() => Date)

Type declaration

    • (): Date
    • Returns the date as a Date/Time object.

      Returns Date

getValue: (() => string)

Type declaration

    • (): string
    • Method to get the value.

      Returns string

setValue: ((dt, dtFormat?) => void)

Type declaration

    • (dt, dtFormat?): void
    • Method to set the value.

      Parameters

      • dt: string | Date
      • Optional dtFormat: string

      Returns void

Generated using TypeDoc