阅读背景:

关节。js添加了带有path类的自定义端口。自定义元素

来源:互联网 

What I am trying to do is make a element with custom class for ports and path so that I can add an element with custom path and my own markup for ports.This way when I create an element I will pass dynamic path for its shape just like elements of path class behave and as I have also extended from PortsModelInterface I will also have my own markup for ports. This whole effort is to make svg scalable for zomming. Previously I was using html custom element with my custom ports which was working fine but html of custom elements wasn't scaling on zoomingWhat I am trying to do is make a element with c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: