Snippet

Component Snippet
Source:
Parameters:
Name Type Description
$ jQuery Instance of jQuery
Returns:
List of Snippet methods
Type
Object

Methods

(static) init()

Source:
init method calls in a loop for each snippet component on a page and runs Snippet's "initInstance" methods.

(static) initInstance(component, snippetModule)

Source:
initInstance method of a Snippet element
Parameters:
Name Type Description
component jQuery Root DOM element of Snippet component wrapped by jQuery
snippetModule jQuery Snippet inner DOM element of Snippet component wrapped by jQuery