Hello
Suppose I have a class like this:
function myClass(q) {
this.someFunction = function(e) {
console.log("Click event");
};
jQuery(q).click(this.someFunction);
}
Is there a way to indicate to JSDoc that someFunction is not just a function that should be invoked directly but rather is an event handler ? I see the @event tag but if I understand correctly this is more to document a function in my class that I consider to be an event (something the client code would register too and that my class will fire when needed) and not an event handler function ?
Thanks