addimated
Version:
An always interruptable, declarative animation library for React
45 lines (38 loc) • 1.41 kB
JavaScript
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
import _createClass from "@babel/runtime/helpers/esm/createClass";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
/* eslint-disable no-unused-vars */
import invariant from "invariant";
var Animation =
/*#__PURE__*/
function () {
function Animation() {
_classCallCheck(this, Animation);
_defineProperty(this, "active", false);
_defineProperty(this, "ended", false);
}
_createClass(Animation, [{
key: "start",
value: function start(animatedVal, fromValue, onEnd) {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "start is not implemented") : invariant(false) : void 0;
}
}, {
key: "step",
value: function step(timestamp) {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "step is not implemented") : invariant(false) : void 0;
}
}, {
key: "getValue",
value: function getValue() {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "getValue is not implemented") : invariant(false) : void 0;
}
}, {
key: "stop",
value: function stop(finished) {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "stop is not implemented") : invariant(false) : void 0;
}
}]);
return Animation;
}();
export { Animation };
//# sourceMappingURL=Animation.js.map