drawing.changeTool - Events - Annotations API

Annotations API Events

drawing:changeTool

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

Examples

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.