Skip to content

raboof/tweet-selection

 
 

Repository files navigation

tweet-selection


tweet-selection

Last version Dev Dependencies Status NPM Status Donate

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

About

Tweet selected text. Like Medium but out of the box.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 43.2%
  • CSS 23.5%
  • CoffeeScript 22.0%
  • HTML 11.3%