mirror of
https://github.com/github/user-select-contain-polyfill
synced 2026-07-22 19:03:48 +00:00
No description
- JavaScript 76.3%
- HTML 20.3%
- CSS 3.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| .gitignore | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| rollup.config.js | ||
| test.html | ||
| user-select-contain.css | ||
| user-select-contain.js | ||
| user-select-contain.js.flow | ||
| user-select-contain.mjs | ||
| user-select-contain.mjs.flow | ||
user-select: contain polyfill
Polyfills user-select: contain property value by implementing the behavior on a CSS class name user-select-contain.
This is only implemented in Internet Explorer right now.
Installation
$ npm install user-select-contain-polyfill
Usage
JS
import "user-select-contain-polyfill";
CSS
@import "user-select-contain-polyfill.css";
HTML
<span class="user-select-contain">
50ce349853
</span>
Development
$ npm install
$ npm run build
License
Distributed under the MIT license. See LICENSE for details.