【文件属性】:
文件名称:selector:使用 CSS 选择器的 DOM 查询
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-21 17:12:00
JavaScript
锚点/选择器
选择器模块实现了对使用 CSS 选择器选择 DOM 元素的支持。
安装
成分
$ component install anchorjs/selector
沃洛
$ volo add anchorjs/selector
用法
select ( '.btn' ) ;
兼容性
成分
该模块使用格式。 要包含在组件构建中,请使用 :
component build -u component-amd
测试
要在浏览器中运行测试,请为所需的浏览器执行 Make 目标:
$ make test-chrome
$ make test-firefox
$ make test-safari
无头测试可以直接从终端执行:
$ make test-phantomjs
学分
执照
版权所有 (c) 2012-2013 Jared Hanson < >
【文件预览】:
selector-master
----selector.js(205B)
----bower.json(505B)
----LICENSE(1KB)
----test()
--------www()
--------auto()
--------selector.test.js(259B)
----README.md(990B)
----Makefile(2KB)
----component.json(212B)
----.gitignore(106B)
----package.json(874B)