You need to sign in to do that
Don't have an account?
YiQin He
How to add event for new DOM element
Hi,
I am trying to dynamically create a new button element in a init function in my lightning component, but I have no idea how to add a click event for this button.
Does anyone try this before?
Thanks
I am trying to dynamically create a new button element in a init function in my lightning component, but I have no idea how to add a click event for this button.
Does anyone try this before?
Thanks