forked from linkong/planet
first commit
This commit is contained in:
commit
e7033775d8
20657 files changed
+1988940
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
||||
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
||||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
||||
var Keyframe = /*#__PURE__*/function () {
|
||||
function Keyframe(name, style) {
|
||||
_classCallCheck(this, Keyframe);
|
||||
_defineProperty(this, "name", void 0);
|
||||
_defineProperty(this, "style", void 0);
|
||||
_defineProperty(this, "_keyframe", true);
|
||||
this.name = name;
|
||||
this.style = style;
|
||||
}
|
||||
_createClass(Keyframe, [{
|
||||
key: "getName",
|
||||
value: function getName() {
|
||||
var hashId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
||||
return hashId ? "".concat(hashId, "-").concat(this.name) : this.name;
|
||||
}
|
||||
}]);
|
||||
return Keyframe;
|
||||
}();
|
||||
export default Keyframe;
|
||||
Reference in new issue
Block a user