SyntaxFix
Write A Post
Hire A Developer
Questions
let obj = MyObject(); elem.someEvent( function(){ obj.func(param) } ); //calls the MyObject.func, passing the param.