Tools for event.
- Copyright:
- 2011 Jeff Schiller
- License:
- MIT
- Source:
Methods
(inner) DOMMouseScrollEvent(e) → {void}
Parameters:
Name | Type | Description |
---|---|---|
e |
Event |
- Source:
Fires:
- module:event.SvgCanvas#event:updateCanvas
- module:event.SvgCanvas#event:zoomDone
Returns:
- Type
- void
(inner) mouseDownEvent(evt) → {void}
Follows these conditions:
- When we are in a create mode, the element is added to the canvas but the action is not recorded until mousing up.
- When we are in select mode, select the element, remember the position and do nothing else.
Parameters:
Name | Type | Description |
---|---|---|
evt |
MouseEvent |
- Source:
Fires:
Returns:
- Type
- void
(inner) mouseMoveEvent(evt) → {void}
Parameters:
Name | Type | Description |
---|---|---|
evt |
MouseEvent |
- Source:
Fires:
- module:svgcanvas.SvgCanvas#event:transition
- module:svgcanvas.SvgCanvas#event:ext_mouseMove
Returns:
- Type
- void
(inner) mouseOutEvent() → {void}
- Source:
Returns:
- Type
- void
(inner) mouseUpEvent(evt) → {void}
Parameters:
Name | Type | Description |
---|---|---|
evt |
MouseEvent |
- Source:
Fires:
- module:svgcanvas.SvgCanvas#event:zoomed
- module:svgcanvas.SvgCanvas#event:changed
- module:svgcanvas.SvgCanvas#event:ext_mouseUp
Returns:
- Type
- void