# Dojo DnD markup selector test

This example is functionally equivalent to test_selector.html example but is done using the Dojo markup.

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.

Following selection modes are supported by default:

- Simple click — selects a single element, all other elements will be unselected.
- Ctrl+click — toggles a selection state of an element (use Meta key on Mac).
- Shift+click — selects a range of elements from the previous anchor to the current element.
- Ctrl+Shift+click — adds a range of elements from the previous anchor to the current element (use Meta key on Mac).

## DIV selector

This selector can select just one element a time. It was specified during the creation time.

Item 1
Item 2
Item 3

## UL selector

- Item 1
- Item 2
- Item 3

## OL selector

1. Item 1
2. Item 2
3. Item 3

## TABLE selector

A | row 1
B | row 2
C | row 3

## P selector with SPAN elements

Elements of this container are layed out horizontally.

Item 1 Item 2 Item 3