I have this object:
{ tag: 'button',
attrs: { onClick: this.myFunc },
children: 'Name' }
This object is in a context where this.myFunc is a function.
How can I get this.myFunc?
If I try with: obj['attrs']['onClick'] it prints all of the function:
function(event){...}