jQuery plugin - C Share buttons
The share to community buttons.
Example
https://ycs77.github.io/jquery-plugin-c-share/
Getting started
Must introduce jQuery 3, Font Awesome 5.
Installation
$ npm install jquery-plugin-c-share
or
$ yarn add jquery-plugin-c-share
In browser:
<!-- Font Awesome 5 is required --> <!-- jQuery is required -->
Usage
;
Options
description
- Type:
String
- Default:
''
Define the share content texts.
showButtons
- Type:
Array
- Default:
['line', 'fb', 'twitter']
Define the show buttons. Can use values: fb
, line
, plurk
, weibo
, twitter
, tumblr
, email
.
data
- Type:
Object
- Default: Source code
Define the share buttons data.
spacing
- Type:
Number
- Default:
6
Define the spacing.
shareToText
- Type:
String
- Default:
Share to
Define the "Share to" text.