Skip to main content

jumpTo()

Scroll the calendar to the given date.

cal.jumpTo(date: Date, reset: boolean): Promise<unknown>

Arguments:

  • date: a Date object, representing the date to jump to.
  • reset: whether if the given date should be at the start of the calendar. Default false

Return:

  • A Promise, that will resolve once all the new domains have loaded, and filled with data.