Niko
Bootstrap event handlers using on:* directive
I'm trying to handle the bootstrap dropdown events using the on:* directive.
I added this to a .d.ts file
But the event names contain dots which does not work in JSX it seems. Is there any way to escape the dots or map the event names used in the JSX to the actual event names?
Something like this would be ideal
Or do i need to wire up these event listeners the vanilla js way using
ref.addEventListener
?7 replies