Content-Length: 286379 | pFad | http://github.com/prateekkalra/Selection-js/tree/fe88c19abf41a0bbd5089f45b7585bb0faa3b622

60 GitHub - prateekkalra/Selection-js at fe88c19abf41a0bbd5089f45b7585bb0faa3b622
Skip to content

A lightweight javascipt library which provides users with a set of options in the form of a small popover over the selected portion of text.

License

Notifications You must be signed in to change notification settings

prateekkalra/Selection-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SelectionJS

A lightweight javascipt library which provides users with a set of options in the form of a small popover over the selected portion of text.

Live Demo

Usage

Script

Just Add the Script to the project and initialize

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>

Result

Demo

About

A lightweight javascipt library which provides users with a set of options in the form of a small popover over the selected portion of text.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/prateekkalra/Selection-js/tree/fe88c19abf41a0bbd5089f45b7585bb0faa3b622

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy