MCPcopy Create free account
hub / github.com/microsoft/SandDance / Controller1

Function Controller1

docs/app/js/sanddance-app.js:90067–90086  ·  view source on GitHub ↗
(ControllerState)

Source from the content-addressed store, hash-verified

90065};
90066var Controller = function() {
90067 function Controller1(ControllerState) {
90068 var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
90069 (0, _classCallCheckDefault.default)(this, Controller1);
90070 (0, _assertDefault.default)(ControllerState);
90071 this.ControllerState = ControllerState;
90072 this.controllerState = null;
90073 this.controllerStateProps = null;
90074 this.eventManager = null;
90075 this.transitionManager = new (0, _transitionManagerDefault.default)(ControllerState, options);
90076 this._events = null;
90077 this._state = {
90078 isDragging: false
90079 };
90080 this._customEvents = [];
90081 this.onViewStateChange = null;
90082 this.onStateChange = null;
90083 this.invertPan = false;
90084 this.handleEvent = this.handleEvent.bind(this);
90085 this.setProps(options);
90086 }
90087 (0, _createClassDefault.default)(Controller1, [
90088 {
90089 key: "finalize",

Callers

nothing calls this directly

Calls 1

setPropsMethod · 0.45

Tested by

no test coverage detected