ShareJs

view/share/sharejs~ ShareJs

Share.js share buttons JSX component.

Constructor

new ShareJs()

Source:
See:
Example
<ShareJs cssUrl="/path/to/share.css" jsUrl="/path/to/social-share.js" />

Members

(static) Cacheable

Cacheable Share.js share buttons JSX component.

This class is supposed to be used in combination with the locals hexo filter (module:hexo/filter/locals).

Source:
See:
Example
<ShareJs.Cacheable helper={{ cdn: function() {...} }} />