<p>This example is functionally equivalent to <ahref="test_selector.html">test_selector.html</a> example but is done using the Dojo markup.</p>
<p>Containers have a notion of a "current container", and one element can be "current". All containers on this page are selectors that allow to select elements.</p>
<p>Following selection modes are supported by default:</p>
<ul>
<li>Simple click — selects a single element, all other elements will be unselected.</li>
<li>Ctrl+click — toggles a selection state of an element (use Meta key on Mac).</li>
<li>Shift+click — selects a range of elements from the previous anchor to the current element.</li>
<li>Ctrl+Shift+click — adds a range of elements from the previous anchor to the current element (use Meta key on Mac).</li>
</ul>
<h2>DIV selector</h2>
<p>This selector can select just one element a time. It was specified during the creation time.</p>