Interface AppointmentPickerApi

The API of the appointment picker, which contains several functions to work with appointment pickers, such as getting the currently selected date or time, or changing the selected date or time.

The API is available via $.xutil.appointmentPicker.

Hierarchy

  • AppointmentPickerApi

Index

Properties

do

Provides functions related to performing actions on an appointment picker, such as selecting a different slot, opening / closing the picker, or loading available slots.

Available via $.xutil.appointmentPicker.do.

formatter

Provides functions related to date and time formats, such as formatting a date / time or parsing a formatted date / time.

Available via $.xutil.appointmentPicker.format.

get

Provides functions related to getting data from an appointment picker, such as the selected slot or whether the picker is opened / closed.

Available via $.xutil.appointmentPicker.get.

lifecycle

(advanced) Provides functions related to the lifecycle of an appointment picker, such as initializing a new picker on a DOM element, getting the ID of an existing picker, or destroying an existing picker.

Available via $.xutil.appointmentPicker.lifecycle.

snapshot

(advanced) Provides functions related to snapshots. A snapshot is a frozen view of an appointment picker's state at a particular moment in time. After taking a snapshot, the picker's state can be restored to that snapshot at a later point in time.

Available via $.xutil.appointmentPicker.snapshot.