0.6.0 • Published 5 years ago
social-button v0.6.0
social-button 
Social Buttons as Web Components.
Install
Using npm:
$ npm install social-buttonUsage
Import and register scripts.
<script type="module">
import { TwitterButton, FacebookButton } from 'https://unpkg.com/social-button';
customElements.define('twitter-button', TwitterButton);
customElements.define('facebook-button', FacebookButton);
</script>Twitter Button
<twitter-button></twitter-button>typefollow / share / hashtag / mentionwidthheightusertexthashtag
Facebook Button
<facebook-button></facebook-button>layoutstandard / box_countwidthheighthrefURL to like or share.