Component Social
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$ |
jQuery | Instance of jQuery |
document |
document | document object |
Returns:
List of Social component methods
- Type
- Object
Methods
(static) init()
- Source:
init method calls in a loop for each
social component on a page and run
"initInstance" methods.
(static) initFacebook(properties)
- Source:
Creates connector for facebook
initInstance method of a Social component
Parameters:
Name | Type | Description |
---|---|---|
properties |
Array | properties for external scripts |
(static) initFacebook()
- Source:
Creates connector for facebook
initInstance method of a Social component
(static) initInstance(component, prop)
- Source:
initInstance method of a Social component
Parameters:
Name | Type | Description |
---|---|---|
component |
jQuery | Root DOM element of Social component wrapped by jQuery |
prop |
Object | Social component properties |