Constructor
new SocialButtons() → {string}
- Source:
Returns:
Html of buttons
- Type
- string
Methods
html() → {string}
- Source:
Returns:
html of social media share buttons
- Type
- string
getShareButton(media, url) → {string}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
media |
string | name of social media avaialble values are facebook|twitter|linkedin|xing |
url |
string | Links to be shared |
Returns:
generated HTML string for a button
- Type
- string
getSocialMediaOptions(media, url) → {Object}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
media |
* | |
url |
* |
Returns:
Social media definitions
- Type
- Object