depth String

Specifies the navigation depth. The following settings are available for the depth value:

  • "month" - Shows the days of the month.
  • "year" - Shows the months of the year.
  • "decade" - Shows the years of the decade.
  • "century" - Shows the decades from the century.

Note the option will not be applied if start option is lower than depth. Always set both start and depth options.

Example - set navigation depth of the calendar popup

<input id="datepicker"/>
    depth: "year",
    start: "year"
In this article