react-integration icon indicating copy to clipboard operation
react-integration copied to clipboard

Add events prop to add events to the CE rather than rely on heuristics for on*

Open treshugart opened this issue 8 years ago • 0 comments

References #60.

We should be able to do:

<CustomElement events={{ click }} />

And the click event will be bound. If the click event is already bound and no click event is passed on the next render, then we should remove the previous click listener.

treshugart avatar Feb 03 '17 09:02 treshugart