Class SAGE2_DrawingApp
Class defined in:public/src/SAGE2_DrawingApp.js:15
Client-side application for drawing, leverages Wacom plugin if present
mousedown
( ev
)
public/src/SAGE2_DrawingApp.js:371
Mouse down handler
Parameters:-
ev
<Event>mouse event
mousemove
( ev
)
public/src/SAGE2_DrawingApp.js:478
Mouse move handler
Parameters:-
ev
<Event>mouse event
mouseup
( ev
)
public/src/SAGE2_DrawingApp.js:424
Mouse up handler
Parameters:-
ev
<Event>mouse event
SAGE2_init
(
)
public/src/SAGE2_DrawingApp.js:74
Entry point of the application. Uses Kinetic.js for drawing
setupListeners
( wsio
)
public/src/SAGE2_DrawingApp.js:125
Place callbacks on various messages from the server
Parameters:-
wsio
<Object>websocket