Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
This component required metro-accordion.js
.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Duis autem vel eum iriure dolor in hendrerit in vulputate. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut.
<div class="accordion" data-role="accordion"> <div class="accordion-frame"> <a href="#" class="heading">Frame heading</a> <div class="content">...</div> </div> <div class="accordion-frame">...</div> <div class="accordion-frame">...</div> </div>
If you want to activate a specific tab of accordion, you must add class active
to accordion-frame
of frame.
If you want to use accordion with marker open/close, you must add class with-marker
to accordion
.
<div class="accordion" data-role="accordion"> // opened frame <div class="accordion-frame active"> <a href="#" class="heading">Frame heading</a> <div class="content">...</div> </div> // closed frame <div class="accordion-frame"> <a href="#" class="heading">Frame heading</a> <div class="content">...</div> </div> </div> <div class="accordion with-marker" data-role="accordion"> ... </div>
You can activate component manually or auto with data-*
api.
$("#componennt_id").accordion({ closeAny: boolean, //true or false. if true other frames (when current opened) will be closed open: function(frame){}, // when current frame opened this function will be fired action: function(frame){} // when any frame opened this function will be fired });
<div class="accordion" data-role="accordion" data-closeany="...">...</div>