【文件属性】:
文件名称:css-path:一个JavaScript库,用于获取DOM元素的唯一且最短CSS路径
文件大小:62KB
文件格式:ZIP
更新时间:2021-04-30 18:08:33
HTML
CSS路径
获取到DOM元素的唯一且最短CSS路径
安装
需要JS模块
< script type =" text/javascript " data-main =" path-to-/TestModule " src =" path-to-/require.js " ) " > </ script >
define ( [ 'CSSPath' ] ,
function ( CSSPath ) {
function TestController ( options ) {
this . _options = options || { } ;
this . cssPath = new CSSPath ( { } ) ;
}
return TestContro
【文件预览】:
css-path-master
----LICENSE(1KB)
----test()
--------vanilla-js()
--------require-js()
----README.md(3KB)
----csspath.js(8KB)
----index.js(6KB)
----package.json(622B)