Accordion

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

Members

(static) api :Object.<Methods>

Source:
This object stores all public api methods
Type:
  • Object.<Methods>

Methods

(static) animateHorizontal(properties)

Source:
animateHorizontal method set up animation for horizontally oriented accordion component
Parameters:
Name Type Description
properties Object list of properties for accordion component

(static) init()

Source:
init method calls in a loop for each accordions component on a page and run Accordions ".initInstance" method.

(static) initInstance(component, prop)

Source:
initInstance method prepare Dom elements according accordion setup and call "accordion" method
Parameters:
Name Type Description
component jQuery Root DOM element of archive component wrapped by jQuery
prop Object list of properties for accordion component