UNPKG

mldong-flow-designer-plus

Version:

本项目包含了作者为B站课堂视频[《工作流设计器开发最佳实践》](https://www.bilibili.com/cheese/play/ss24484)的过程源码。教程中开发的组件也可用于实际生产环境中。以下是和使用文档和课程章节说明。 ## 实战项目 [演示地址](https://flow-pro.mldong.com/)

35 lines (34 loc) 650 B
class Keyframe { constructor(name, style) { this._keyframe = true; this.name = name; this.style = style; } getName() { let hashId = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; return hashId ? `${hashId}-${this.name}` : this.name; } } function getMotion(_ref) { let { prefixCls, animation, transitionName } = _ref; if (animation) { return { name: `${prefixCls}-${animation}` }; } if (transitionName) { return { name: transitionName }; } return {}; } export { Keyframe as K, getMotion as g }; //# sourceMappingURL=motionUtil-C3pKw7LX.js.map