MCPcopy
hub / github.com/winjs/winjs / constructor

Method constructor

src/js/WinJS/Utilities/_OpenCloseMachine.ts:154–159  ·  view source on GitHub ↗
(args: IOpenCloseControl)

Source from the content-addressed store, hash-verified

152 // *exitInit* to move the machine out of the Init state.
153
154 constructor(args: IOpenCloseControl) {
155 this._control = args;
156 this._initializedSignal = new _Signal();
157 this._disposed = false;
158 this._setState(States.Init);
159 }
160
161 // Moves the machine out of the Init state and into the Opened or Closed state depending on whether
162 // open or close was called more recently.

Callers

nothing calls this directly

Calls 1

_setStateMethod · 0.95

Tested by

no test coverage detected