【文件属性】:
文件名称:getSelectionTexts:getSelection 支持多个范围
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-08 15:11:20
JavaScript
获取选择文本
getSelection 支持多个范围。
安装
npm install selection-texts
用法
var getSelectionTexts = require ( "selection-texts" ) ;
getSelectionTexts ( ) ; // ["selected", "text"];
测试
npm test
贡献
叉它!
创建您的功能分支: git checkout -b my-new-feature
提交您的更改: git commit -am 'Add some feature'
推送到分支: git push origin my-new-feature
提交拉取请求 :D
执照
麻省理工学院
【文件预览】:
getSelectionTexts-master
----.travis.yml(48B)
----.babelrc(96B)
----package.json(1KB)
----test()
--------getSelectionTexts-test.js(3KB)
----LICENSE(1KB)
----src()
--------getSelectionTexts.js(615B)
----.gitignore(2KB)
----README.md(635B)