vue3-yuanma/packages/runtime-dom/__tests__
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
..
directives fix(v-model): consistent nullish value handling with 2.x (#1530) 2020-07-06 19:02:33 -04:00
helpers feat: ssr support for <style vars> 2020-07-12 18:04:09 -04:00
customizedBuiltIn.spec.ts chore: fix typos (#1090) 2020-05-01 09:42:58 -04:00
patchAttrs.spec.ts refactor: adjust runtime-dom test structure + tests for dom props 2020-04-10 15:37:30 -04:00
patchClass.spec.ts refactor: adjust runtime-dom test structure + tests for dom props 2020-04-10 15:37:30 -04:00
patchEvents.spec.ts fix(v-on): refactor DOM event options modifer handling 2020-07-14 11:48:05 -04:00
patchProps.spec.ts chore: typo fixes (#1546) 2020-07-08 12:32:42 +02:00
patchStyle.spec.ts fix(runtime-dom/style): fix patchStyle on falsy next value (#1504) 2020-07-06 16:45:15 -04:00
rendererStaticNode.spec.ts wip(runtime): test for static vnode handling 2020-05-15 16:11:53 -04:00