drawing.changeTool - Events - Annotations API

Annotations API Events


Notifies you when the drawing tool changes state. Returns the name of the drawing tool in use.


annotationsApp.on('drawing:changeTool', function () {
    console.log('The current drawing tool is: ' + annotationsApp.module('drawing').getDrawingTool());
Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.