el-word-select
v1.0.0
Published
A component handles selection changes in your other components.
Downloads
4
Readme
el-word-select
Table of Contents
Introduction
响应组件内用户的文本选择
Features
- 一个提供监听组件内用户文本选择功能的组件,通过 slot 与其他组件组合
- 提供两个定位于文本选择位置 slot,方便在出现文本选择时,在相应位置作出 UI 上的响应
Todos
[ ] 节流对于 node 是否有被选中的判断
[ ] 当 layout 改变时,更新文本选中的位置
Install
npm install el-word-select --save
// 或
yarn add el-word-select
Usage
Links
Contributing
For those who are interested in contributing to this project, such as:
- report a bug
- request new feature
- fix a bug
- implement a new feature
Please refer to our contributing guide.
Contributors
Thanks goes to these wonderful people (emoji key):
Sociosarbis |--------- | 💻 💡📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!