[Representation] Update docs
Update documentation to reflect that an event is broadcast when drops occur. WTD-877.
This commit is contained in:
@@ -107,6 +107,11 @@ introduces three specific gestures as "built in" options, listed by key:
|
||||
drag-drop domain object composition.
|
||||
* `drop`: Representations with this gesture can serve as drop targets for
|
||||
drag-drop domain object composition.
|
||||
* When a drop occurs, an `mctDrop` event will be broadcast with two
|
||||
arguments (in addition to Angular's event object): The domain object
|
||||
identifier for the dropped object, and the position (with `x` and `y`
|
||||
properties in pixels) of the drop, relative to the top-left of the
|
||||
representation which features the drop gesture.
|
||||
* `menu`: Representations with this gesture will provide a custom context
|
||||
menu (instead of the browser default).
|
||||
* It should be noted that this gesture does _not_ define the appearance
|
||||
|
||||
Reference in New Issue
Block a user