2.0.0 • Published 9 years ago
tweet-selection v2.0.0
tweet-selection
Tweet selected text. Like Medium but out of the box.
Install
npm install tweet-selection --saveor
bower install tweet-selection --saveUsage
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