Package Exports
- d-share
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (d-share) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
d-share
Share your website on multiple third-party social networks.
Available Sharing Networks
- Google+
- Tumblr
- MySpace
- Douban
- Kaixin
- Netease
- Renren
- Sina
- Sohu
Usage Examples
share(service="facebook", url="http://derbyjs.com/", text="Expect more from your MVC.")
button Share on Facebookshare(service="twitter", url="http://derbyjs.com/", text="Expect more from your MVC.")
button Share on Twittershare(service="pinterest", url="http://derbyjs.com/", desc="Expect more from your MVC.", image="http://derbyjs.com/images/derby.png")
button Share on PinterestData Attributes
| Attribute | Description | Applies To |
|---|---|---|
| service | The network to share to (please refer to the available networks; must be all lower case) | All |
| url | The URL you want to share | All, except Netease |
| text | The title or text you want to enter when sharing | Email, Facebook, Twitter, Reddit, MySpace, Douban, Kaixin, Netease, Renren, Sina, Sohu |
| desc | The description you want to enter when sharing | Email, LinkedIn, Pinterest, MySpace |
| image | The image you want to enter when sharing | Pinterest, Douban, Sina |