Component Playlist
- Source:
Parameters:
Name | Type | Description |
---|---|---|
$ |
jQuery | Instance of jQuery |
Returns:
List of Playlist component methods
- Type
- Object
Classes
Members
(static) api :Object.<Methods>
- Source:
This object stores all public api methods
Type:
- Object.<Methods>
Methods
(static) init()
- Source:
Finds all not initialized yet
Playlist components and in a loop for each of them
run "initInstance"
method.
(static) initInstance(component, prop)
- Source:
For each playlist component creates new instance of
"Playlist" and calls
"loadPlaylistVideo",
"attachEvents"
methods
Parameters:
Name | Type | Description |
---|---|---|
component |
jQuery | Root DOM element of playlist component wrapped by jQuery |
prop |
Object | Properties set in data attribute of playlist component |