Required library edition:
Required library file: dhtmlxscheduler.js
returns object with details about current state of the scheduler
Note: scheduler's behavior can not be changed by modifying this object.
For example, function can be used the following way:
if (scheduler.getState.mode == "month") { // custom logic }