Skip to content

plugin: collapsible

mikaelbr edited this page Jul 1, 2011 · 9 revisions

Need to document...

Events

Collapsible elements trigger a collapse and expand event on the div.

<div id="collapsible-element" data-role="collapsible" />

$('#collapsible-element').bind('collapse', function(){ /* COLLAPSED */ });
$('#collapsible-element').bind('expand', function() { /* EXPANDED */ });