demo-selection-js
v1.0.0
Published
Text selection popover options
Downloads
7
Maintainers
Readme
Usage
To get started with Selection.js, download the Script and add it to your project
Basic
<script src="selection.min.js"></script>
<script>
var selection = new Selection();
selection.init();
</script>
Advanced
<script src="selection.min.js"></script>
<script>
var selection = new Selection();
selection.config({
facebook: true,
twitter: true,
search:true,
copy:true,
speak:true,
backgroundColor: 'crimson',
iconColor: '#fff',
}).init();
</script>