SyntaxFix
Write A Post
Hire A Developer
Questions
I don't think you can do that this way. You should use :
void addEventListener( in DOMString type, in EventListener listener, in boolean useCapture );
Documentation right here.