神刀安全网

tweet-selection: Tweet selected text, like Medium, but out of the box.

tweet-selection

tweet-selection: Tweet selected text, like Medium, but out of the box.

tweet-selection: Tweet selected text, like Medium, but out of the box. tweet-selection: Tweet selected text, like Medium, but out of the box. tweet-selection: Tweet selected text, like Medium, but out of the box. tweet-selection: Tweet selected text, like Medium, but out of the box.

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:

$.tweetSelection({   height: 300,   width: 600,   selector: 'body'   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

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » tweet-selection: Tweet selected text, like Medium, but out of the box.

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮