Skip to main content

invertZones

Description

Inverts the specified time zones

invertZones: (zones: any[]) => void

Parameters

  • zones - (required) array - an array [start_minute,end_minute,..,start_minute_N,end_minute_N]
    where each pair sets a certain limit range (in minutes). The array can have any
    number of such pairs

Example

var zones = scheduler.invertZones([500, 1000]); // => [0, 500, 1000, 1440]

Details

note

Available from version 3.5

note

The method requires the limit plugin to be activated.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.