Back to Dojo

Dojo DnD with handles test

testsDOH/dnd/test_dnd_handles.html

1.17.31015 B
Original Source

Dojo DnD with handles test

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 element from the previous anchor to the current element.
  • Ctrl+Shift+click — adds a range of element from the previous anchor to the current element (use Meta key on Mac).

Following drop modes are supported by default:

  • Simple drop — moves elements to the valid target removing them from the source. It can be used to reorganize elements within a single source/target.
  • Ctrl+drop — copies elements to the valid target (use Meta key on Mac).

Source with handles. Items should be draggable by the "em" of the word "Item" (and also see a 'move' cursor on it).

Item Alpha

Item Beta

Item Gamma

Item Delta

Source without handles.

Item Epsilon

Item Zeta

Item Eta

Item Theta

HTML after