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