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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.