You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functions decorated by @emit $emit their return value followed by their original arguments. If the return value is a promise, it is resolved before being emitted.
If the name of the event is not supplied via the event argument, the function name is used instead. In that case, the camelCase name will be converted to kebab-case.
vue-property-decorator -5- Emit
Vue
中的事件的触发和监听,Vue
提供了$emit
和$on
, 那么在vue-property-decorator
中如何使用呢?vue-property-decorator
提供的@Emit
属性.官方 demo
If the name of the event is not supplied via the event argument, the function name is used instead. In that case, the camelCase name will be converted to kebab-case.
The text was updated successfully, but these errors were encountered: