vue3-yuanma/packages/compiler-dom/__tests__/transforms
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
..
__snapshots__ refactor(compiler): remove modelValue from generated code for native v-model 2020-03-16 17:51:56 -04:00
ignoreSideEffectTags.spec.ts fix(compiler-dom): should ignore and warn side effect tags like script and style 2020-07-08 12:32:07 -04:00
stringifyStatic.spec.ts fix: bail stringification for slots 2020-06-10 14:31:59 -04:00
transformStyle.spec.ts fix(compiler-dom): properly stringify class/style bindings when hoisting static strings 2020-02-21 13:10:13 +01:00
vHtml.spec.ts test: test updates for d40c642 2020-02-11 18:40:42 -05:00
vModel.spec.ts fix(v-model): should use dynamic directive on input with dynamic v-bind 2020-02-05 15:21:47 -05:00
vOn.spec.ts fix(v-on): refactor DOM event options modifer handling 2020-07-14 11:48:05 -04:00
vShow.spec.ts refactor: expose parse in compiler-dom, improve sfc parse error handling 2019-12-22 19:44:21 -05:00
vText.spec.ts test: test updates for d40c642 2020-02-11 18:40:42 -05:00
warnTransitionChildren.spec.ts fix(transition): warn only when there is more than one rendered child (#903) 2020-03-31 18:12:51 -04:00