blockTime

blocks a time interval

function blockTime;

Example

webix.ui({
    view:"calendar",
    type:"time",
    blockTime:function(date){
        if ((new Date(2018,6,1,8,40)).valueOf() == date.valueOf())
            return true;
        return false;
    }
});

Related samples

Details

The blockTime function must return true for blocked time intervals and false for the rest.

See also
Back to top