Skip to main content

unblockTime

warning

The method is deprecated.

Description

Removes blocking set by the blockTime() method

unblockTime: (days: any, zones?: any[], sections?: any) => void

Parameters

  • days - (required) any - (Date, number,array, string) days that should be limited
  • zones - (optional) array - the period in minutes that should be limited. Can be set to 'fullday' value
    to limit the entire day
  • sections - (optional) object - allows blocking date(s) just for specific items of specific views. BTW, the specified date(s) will be blocked just in the related view(s)

Example

var spanId = scheduler.blockTime(new Date(2013,2,5), "fullday");
...
//cancels blocking from 0 till 8 and from 18 till 24 hours for February 5, 2013
scheduler.unblockTime(new Date(2013,2,5), [0,10*60]);

Change log

  • deprecated since v5.1
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.