#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();
- data-title – sets title for VK and Facebook.
- data-text – sets description for VK, Facebook and twitter.
- data-url – sets shared url for VK and Facebook.
- data-picture – sets shared picture for VK and Facebook.
By default Sharer use standard meta-tags.