Options
All
  • Public
  • Public/Protected
  • All
Menu

Date/Time

Hierarchy

  • IDateTime

Index

Properties

el

el: HTMLDivElement

The date/time picker element.

flatpickrObj

flatpickrObj: any

The flatpickr object.

getDate

getDate: () => Date

Returns the date as a Date/Time object.

Type declaration

    • (): Date
    • Returns Date

getValue

getValue: () => string

Method to get the value.

Type declaration

    • (): string
    • Returns string

setValue

setValue: (dt: string | Date, dtFormat?: string) => void

Method to set the value.

Type declaration

    • (dt: string | Date, dtFormat?: string): void
    • Parameters

      • dt: string | Date
      • Optional dtFormat: string

      Returns void

Generated using TypeDoc