Skip to content

Support for on-kebab-events

Compare
Choose a tag to compare
@BBKolton BBKolton released this 02 Feb 22:03
· 28 commits to master since this release

Migration

Any functional prop that was using the idiomatic on- prefix, such as on-my-event will now be handled as an event listener, not a property. If you have properties that use the on- prefix but which are not supposed to be event handlers, change their names.

Features

You can now target on-kebab-case events without frankensteining kebab and camel case together! Check the readme for more information and examples