spatie / vue-table-component

A straight to the point Vue component to display tables
http://vue-table-component.spatie.be
MIT License
588 stars 149 forks source link

Make emitted event kebab-case, to support using in-DOM templates #138

Closed davidavz closed 6 years ago

davidavz commented 6 years ago

HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates.

We should use "row-click" instead of "rowClick".

vuejs/vue#5186 (comment)

davidavz commented 6 years ago

I am now emitting both row-click and rowClick

freekmurze commented 6 years ago

Thanks!

fritx commented 6 years ago

Excuse me.. what does "in-DOM template" mean?