0.6.0 • Published 4 years ago

social-button v0.6.0

Weekly downloads
13
License
MIT
Repository
github
Last release
4 years ago

social-button devDependency Status

Social Buttons as Web Components.

Install

Using npm:

$ npm install social-button

Usage

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>
  • type follow / share / hashtag / mention
  • width
  • height
  • user
  • text
  • hashtag

Facebook Button

<facebook-button></facebook-button>
  • layout standard / box_count
  • width
  • height
  • href URL to like or share.

License

MIT © Shogo Sensui

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.2.0

8 years ago

0.1.0

9 years ago