1.4.0 • Published 7 years ago

sharer v1.4.0

Weekly downloads
6
License
ISC
Repository
github
Last release
7 years ago

#Sharer

Usage:

<div data-share="fb" data-title="title to fb" data-text="share to fb" data-picture="https://path.to.image">share to fb</div>
<div data-share="vk" data-title="title to vk" data-text="share-to-vk" data-picture="https://path.to.image">share to vk</div>
<div data-share="tw" data-text="share to tw">share to tw</div>
var sharer = require("sharer");
var Sharer = new Sharer();
Sharer.run();

Available parameters

  1. data-title – sets title for VK and Facebook.
  2. data-text – sets description for VK, Facebook and twitter.
  3. data-url – sets shared url for VK and Facebook.
  4. data-picture – sets shared picture for VK and Facebook.

By default Sharer use standard meta-tags.

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.9

8 years ago

1.1.8

8 years ago

1.1.7

8 years ago

1.0.7

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago