mirror of https://github.com/vuejs/core.git
In a custom element created via `defineCustomElement`, if the first event argument is an object, it will be used as the options object for the emitted CustomEvent. The entire argument list is still exposed via the CustomEvent's `detail` property. ```js emit('event', { bubbles: true }) ``` close #7605 |
||
---|---|---|
.. | ||
compiler-core | ||
compiler-dom | ||
compiler-sfc | ||
compiler-ssr | ||
dts-built-test | ||
dts-test | ||
reactivity | ||
runtime-core | ||
runtime-dom | ||
runtime-test | ||
server-renderer | ||
sfc-playground | ||
shared | ||
template-explorer | ||
vue | ||
vue-compat | ||
global.d.ts |