vue3-yuanma/packages/compiler-dom
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
..
__tests__ fix(v-on): refactor DOM event options modifer handling 2020-07-14 11:48:05 -04:00
src fix(v-on): refactor DOM event options modifer handling 2020-07-14 11:48:05 -04:00
api-extractor.json refactor(types): mark internal API exports and exclude from d.ts 2020-04-30 17:04:35 -04:00
index.js feat(compiler): scaffold compiler-dom 2019-09-16 15:06:45 -04:00
LICENSE chore: license 2019-10-28 11:15:17 -04:00
package.json release: v3.0.0-beta.20 2020-07-08 12:45:30 -04:00
README.md feat(compiler): scaffold compiler-dom 2019-09-16 15:06:45 -04:00

@vue/compiler-dom