tweet-selection
v2.0.0
Published
Tweet selected text. Like Medium but out of the box.
Downloads
7
Maintainers
Readme
tweet-selection
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:
$('body').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.
License
MIT © Kiko Beats