MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / getState

Method getState

codebase/dhtmlxscheduler.es.js:2943–2945  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2941 });
2942 }
2943 getState() {
2944 return { ...this.state, mode: this.state.modes[this.state.currentModeIndex] };
2945 }
2946 setState(i) {
2947 const t = { ...this.state };
2948 i.mode && (i.currentModeIndex = this.state.modes.indexOf(i.mode)), this.state = { ...this.state, ...i }, this._notifyStateChange(t, this.state), this.container && this.render(this.container);

Callers 8

constructorMethod · 0.95
_adjustDateMethod · 0.95
_renderCalendarHeaderMethod · 0.95
renderMethod · 0.95
_renderDayGridHeaderMethod · 0.95
_renderDayGridMethod · 0.95
_renderMonthGridMethod · 0.95
_renderYearGridMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected