Open dim0xff opened 4 years ago
For example https://vuejs.org/v2/guide/components-custom-events.html#Event-Names
For these reasons, we recommend you always use kebab-case for event names.
And here the same page https://vuejs.org/v2/guide/components-custom-events.html#sync-Modifier
That’s why instead, we recommend emitting events in the pattern of update:myPropName
update:myPropName
But update:myPropName is not kebab-case.
Great point @dim0xff! We'll make sure to fix this once we have a stable 3.0 docs. Appreciate you filing an issue!
For example https://vuejs.org/v2/guide/components-custom-events.html#Event-Names
And here the same page https://vuejs.org/v2/guide/components-custom-events.html#sync-Modifier
But
update:myPropName
is not kebab-case.