An opensource Web widget that allows you to quickly and easily add a like button to your very liked website.
Simply include the JavaScript <script>
tag and CSS <link>
tag in the <head>
tag to seamlessly integrate this into your website.
<script defer src="https://unpkg.com/[email protected]/dist/js/index.js"></script>
Attribute | Default | Value | Description |
---|---|---|---|
data-pl-custom |
true |
true |
enables using custom attributes |
data-pl-button-location |
TR |
TL | TR | BL | BR |
defines the location of the button |
data-pl-z-index |
1 |
Number |
defines custom z-index for button |
data-pl-level |
path |
path | host |
host : every page within that domain will have same counter; path : every page will have a separate counter |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/styles.css" />
That's all!! You are now ready to start receiving likes on your page.
Contributions are always welcome!
Please adhere to this project's code of conduct
.
- Add react plugin
- Handle view count