checkLimitViolation
Description
Bestellt, ob das angegebene Event mit einem blockierten Zeitraum überschneidet
checkLimitViolation: (event: any) => boolean
Parameters
event- (required) object - das Event-Objekt
Returns
isBlocked- (boolean) - gibt true zurück, wenn das Event in einen blockierten Zeitraum fällt, andernfalls false.
Example
var event = {
text : "New Event",
start_date : new Date(2013, 02, 20, 10, 00),
end_date : new Date(2013, 02, 20, 14, 00)
};
var isBlocked = scheduler.checkLimitViolation(event); //gibt 'true' oder 'false' zurück
Details
Hinweis
Die Methode erfordert, dass das limit Plugin aktiviert ist.
Beachte, dass diese Methode das Event onLimitViolation auslöst.
Related API
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.