fires after a tree branch was opened or closed (the Timeline view, 'tree' mode only)
section | object| boolean | the configuration object of the opened/closed branch. Takes the true value, if all branches were closed/opened at once by the closeAllSections()/openAllSections() methods. |
isOpen | boolean | indicates whether the branch was opened (true) or closed (false) |
allSections | boolean | takes the true value, if all tree branches were closed/opened at once by the closeAllSections()/openAllSections() methods, |
Available only in PRO Edition
scheduler.attachEvent("onAfterFolderToggle", function(section, isOpen, allSections){
//any custom logic here
});