Annotations API Events
notepad:toggleVisibility
Notifies you when toggleVisibility is called on the notepad module.
Examples
annotationsApp.on('notepad:toggleVisibility', function () {
console.log('Notepad visibility changed to: ' + annotationsApp.module('notepad').isVisible());
});