vue3-yuanma/packages
Evan You 380c6792d8 fix(v-on): refactor DOM event options modifer handling
fix #1567

Previously multiple `v-on` handlers with different event attach option
modifers (`.once`, `.capture` and `.passive`) are generated as an array
of objects in the form of `[{ handler, options }]` - however, this
makes it pretty complex for `runtime-dom` to properly handle all
possible value permutations, as each handler may need to be attached
with different options.

With this commit, they are now generated as event props with different
keys - e.g. `v-on:click.capture` is now generated as a prop named
`onClick.capture`. This allows them to be patched as separate props
which makes the runtime handling much simpler.
2020-07-14 11:48:05 -04:00
..
compiler-core fix(v-on): refactor DOM event options modifer handling 2020-07-14 11:48:05 -04:00
compiler-dom fix(v-on): refactor DOM event options modifer handling 2020-07-14 11:48:05 -04:00
compiler-sfc feat: ssr support for <style vars> 2020-07-12 18:04:09 -04:00
compiler-ssr refactor(compiler): extract isStaticExp util 2020-07-13 16:48:24 -04:00
reactivity release: v3.0.0-beta.20 2020-07-08 12:45:30 -04:00
runtime-core fix(v-on): refactor DOM event options modifer handling 2020-07-14 11:48:05 -04:00
runtime-dom fix(v-on): refactor DOM event options modifer handling 2020-07-14 11:48:05 -04:00
runtime-test release: v3.0.0-beta.20 2020-07-08 12:45:30 -04:00
server-renderer feat: ssr support for <style vars> 2020-07-12 18:04:09 -04:00
shared fix(v-on): capitalize dynamic event names 2020-07-13 17:36:46 -04:00
size-check release: v3.0.0-beta.20 2020-07-08 12:45:30 -04:00
template-explorer feat: ssr support for <style vars> 2020-07-12 18:04:09 -04:00
vue release: v3.0.0-beta.20 2020-07-08 12:45:30 -04:00
global.d.ts feat(build): provide more specific warnings for runtime compilation 2020-04-20 15:23:26 -04:00