如何将css动画关键帧添加到jointjs元素

问题描述

我正在使用如下所示的 basic.extend() 方法创建 Jointjs 自定义元素类型。

joint.shapes.devs.Element = joint.shapes.basic.Generic.extend({
        defaults: joint.util.deepSupplement({
            type: 'devs.Element',attrs: {
                ".name": "Name"
            }
        },joint.shapes.basic.Rect.prototype.defaults)
});

那么我如何为这个jointjs类型定义css关键帧?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)