vue-slick icon indicating copy to clipboard operation
vue-slick copied to clipboard

camelCase events

Open MWStudio4 opened this issue 7 years ago • 3 comments

Hello. I have trouble with camelCased events (afterChange in my case). From console i've got this:

[Vue tip]: Event "afterchange" is emitted in component <Slick> at node_modules/vue-slick/slickCarousel.vue but the handler is registered for "afterChange". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "after-change" instead of "afterChange".

And no working event listener. I tried kebab-case and got the same error. Other 'oneword' events work fine. If i change to 'afterchange' in slick source - all is ok.

MWStudio4 avatar Aug 24 '18 18:08 MWStudio4

Same issue

Relevant to DOM template : https://github.com/vuejs/vue/issues/4044

jackleblack-kpt avatar Sep 12 '18 15:09 jackleblack-kpt

Same issue here using inline-template

thanosasimo avatar Sep 25 '18 10:09 thanosasimo

I have the same problem. Nobody fix it?

mrKorg avatar Jun 16 '19 21:06 mrKorg