Author: | ColinEberhardt |
---|---|
Views Total: | 1,029 views |
Official Page: | Go to website |
Last Update: | February 26, 2019 |
License: | MIT |
Preview:

Description:
Applause Button is a JavaScript component to generate a Medium.com like claps button which allows the user to clap for your post/article.
How to use it:
Install & download.
# Yarn $ yarn add applause-button # NPM $ npm install applause-button --save
Import the Applause Button’s JavaScript and Stylesheet.
<link rel="stylesheet" href="https://unpkg.com/applause-button/dist/applause-button.css"> <script src="https://unpkg.com/applause-button/dist/applause-button.js"></script>
Create a basic claps button on the page.
<applause-button />
Apply custom CSS styles to the button.
<applause-button style="height:32px; width:32px" color="black" />
Enable/disable multiple claps.
<applause-button multiclap="true">
Log the claps for a specified URL.
<applause-button multiclap="true" url="cssscript.com"/>