Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

PreShowCallback

PreShowCallback: (this: Calendar, input: JQuery, instance: Timepicker) => Partial<DatepickerOptions> | boolean | undefined

Callback invoked before the calendar is opened.

Type declaration

PreShowDayCallback

PreShowDayCallback: (this: Window, date: Date) => [boolean, string] | [boolean, string, string]

Callback invoked before a day is shown.

Type declaration

    • (this: Window, date: Date): [boolean, string] | [boolean, string, string]
    • Parameters

      • this: Window
      • date: Date

        The current date of the calendar.

      Returns [boolean, string] | [boolean, string, string]

      Two to three values indicating:

      1. true/false indicating whether or not this date is selectable
      2. a CSS class name to add to the date's cell or "" for the default presentation
      3. an optional popup tooltip for this date

ShowOnType

ShowOnType: "focus" | "button" | "both"

Client-side event to display the calendar. focus is when the input field receives focus. popup is when the popup button is clicked. both is both focus and popup.

Generated using TypeDoc