Awesome
tweet-selection
<p align="center"> <br> <img src="http://g.recordit.co/N2fdZHEWsk.gif" alt="tweet-selection"> <br> </p>Tweet selected text. Like Medium but out of the box.
Install
npm install tweet-selection --save
or
bower install tweet-selection --save
Usage
Note: You need to use a DOM Selector.
API and default values are:
$('.content').tweetSelection({
height: 300,
width: 600,
minimumTextSelected: 3,
shareClass: '.tweet-selection',
ellipsis: '…',
quoteLeft: '“',
quoteRight: '”'
})
Also support the rest of the query optional parameters for Tweet Web intent.
Related
- TweetThis - Allows visitors to tweet text content on your webpage by highlighting it.
License
MIT © Kiko Beats