本文へ移動

@eightkk/vue-weave / core / CalendarZoomPresetOptions

Interface: CalendarZoomPresetOptions ​

Defined in: src/core/calendarFormat.ts:68

Properties ​

labels? ​

optional labels?: Partial<Record<CalendarZoomLevel, string>>

Defined in: src/core/calendarFormat.ts:80

Preset button labels by level. Defaults: Hours, Days, Weeks, Months, Quarters, Years.


levels? ​

optional levels?: readonly CalendarZoomLevel[]

Defined in: src/core/calendarFormat.ts:78

Levels to return, in this order, without duplicates. Default all six, finest first.


locale? ​

optional locale?: string | readonly string[]

Defined in: src/core/calendarFormat.ts:70

Locale of the band and tick labels. Default en-US (never the runtime's default locale).


timeZone? ​

optional timeZone?: string

Defined in: src/core/calendarFormat.ts:72

IANA time zone of the calendar. Default UTC. Cannot be combined with utcOffsetMinutes.


utcOffsetMinutes? ​

optional utcOffsetMinutes?: number

Defined in: src/core/calendarFormat.ts:74

Fixed offset from UTC in minutes. Cannot be combined with timeZone.


weekStartsOn? ​

optional weekStartsOn?: number

Defined in: src/core/calendarFormat.ts:76

First day of a week band, 0 = Sunday to 6 = Saturday. Default 1 (Monday).

MIT ライセンスで公開しています。