b3be69acc4
Actions Maintenance |
||
---|---|---|
.github/workflows | ||
.gitignore | ||
LICENSE | ||
README.md | ||
package.json | ||
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 |
README.md
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.