Raised while the user is moving multiple selected items, this event lets you cancel the modification.
JavaScript Copy Code |
---|
function onSelectionMoving (sender, args) |
SelectionMoving handlers receive an event object of type SelectionEventArgs.
This event is raised after each mouse movement while modifying a selection of items. Call the cancelDrag method to cancel the modification. The event is raised once again when the mouse button is released. Use the Selection class of the Diagram to access the selected items.
To handle the SelectionMoving event, assign the name of the respective JavaScript function (for example 'onSelectionMoving') to the SelectionMovingScript property.