JQM-PluginSelector-pref

Benchmark created on


Preparation HTML

<link rel="stylesheet" href="http://code.jquery.com/mobile/git/jquery.mobile-git.css">
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/mobile/git/jquery.mobile-git.js"></script>

<div id="target" data-role="collapsibleset"  data-corners=true>
                <div id="col1" data-role="collapsible"  data-collapsed="false">
                        <h3>Section 1</h3>
                        <p>I'm the collapsible set content for section 1.</p>
                </div>
                <div id="col2" data-role="collapsible"  data-iconpos="left" data-mini="false" data-collapsed-icon="plus" data-expanded-icon="minus" data-theme="a" data-content-theme="a" data-inset=true data-corners=true>
                        <h3>Section 2 - Set to default.</h3>
                        <p>I'm the collapsible set content for section 2.</p>
                </div>
                <div id="col2" data-role="collapsible" >
                        <h3>Section 3</h3>
                        <p>I'm the collapsible set content for section 2.</p>
                </div>
        </div>

Test runner

Ready to run.

Testing in
TestOps/sec
:jqmData('collapsibleset')
$(":jqmData('collapsibleset')")
ready
:mobile-collapsibleset
$(":mobile-collapsibleset")
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.