【文件属性】:
文件名称:svg.foreignobject.js:SVG外对象对svg.js库的支持
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-18 02:07:31
JavaScript
svg.foreignobject.js
库的插件,用于在svg中创建异物元素。
有关更多详细信息,请参见。
Svg.foreignobject.js是根据MIT许可条款获得许可的。
用法
在html文档中包含svg.js库之后,请包含此插件。
添加异物
var canvas = SVG ( 'canvas' ) . size ( 1024 , 550 )
var fobj = canvas . foreignObject ( 100 , 100 ) . attr ( { id : 'fobj' } )
添加儿童笔记
var txt = "some text that is quite long. and it goes on and on. and it's pointless really. and the grammar is terrible. blah. b
【文件预览】:
svg.foreignobject.js-master
----svg.foreignobject.js(755B)
----sample.html(825B)
----README.md(1KB)
----.gitignore(8B)