natural-selection

Detect if an element supports selection range in chrome

Usage no npm install needed!

<script type="module">
  import naturalSelection from 'https://cdn.skypack.dev/natural-selection';
</script>

README

natural-selection

Detect if an element supports selection range in chrome

var naturalSelection = require('natural-selection');

var elementSupportsSelectionRange = naturalSelection(element); // true or false