Evan You
dbc0582587
feat: dynamic directive arguments for v-on, v-bind and custom directives ( #9373 )
6 years ago
Evan You
11614d63b7
feat(v-on): support v-on object syntax with no arguments
Note this does not support modifiers and is meant to be used for handling
events proxying in higher-order-components.
7 years ago
gebilaoxiong
d33c1250ee
fix:when using object syntax in v-bind, special attribute have no effect
8 years ago
Evan You
26953f5cac
add semis to flow decls for better syntax highlighting
8 years ago
Evan You
0ccefff794
support v-for on scoped slots ( fix #5615 )
8 years ago
Evan You
1073035164
fix activate hook call timing (fix vue-router#1212)
8 years ago
Evan You
a12d32a56d
fix style diffing on cached/slot elements ( fix #5318 )
8 years ago
Evan You
9d6c8ec268
feat: allow customization of component v-model prop/event via model option ( close #4515 )
8 years ago
Evan You
30258a9a60
rename vnode.child -> vnode.componentInstance
8 years ago
Evan You
207c18c47f
further reduce normalizeChildren usage
8 years ago
Evan You
7b389bc34e
avoid warning unknown custom elements in v-pre
8 years ago
Evan You
303378f85b
support default scoped slot + function children as scoped slot
8 years ago
Evan You
ff551029bf
wip: fix flow type for weex merge
8 years ago
Evan You
b69b4a4eef
tweak style merge for performance
8 years ago
chengchao
e960cd104e
enable style merge behavior between parent-child components ( fix #3997 ) ( #4138 )
* merge style between components
* update test case
* update style compiler
* add paren to style binding code
* update background property parsing
* introduce interpolation warning and refactor var to const
8 years ago
chengchao
0cd1489e68
.number modifier should work with select, radio, checkbox ( fix #4018 ) ( #4022 )
* support number modifier in select, radio, checkbox
* add test case
* add ASTModifier type to specify modifiers type
* fix typo
* keep code consistent
8 years ago
Evan You
1fa3844dc2
refactor directive update implementation
8 years ago
Evan You
ed2085974b
ensure mergeVNodeHook does not inject duplicate hooks
8 years ago
Evan You
d2df58e547
move v-show marker to runtime so that render functions work as expected ( fix #3488 )
8 years ago
Evan You
ba5fb31188
fix transition insert hook duplicate invocation on slot nodes ( fix #3474 )
8 years ago
Evan You
18386c4cf4
fix static nodes optimization inside v-for ( fix #3406 )
8 years ago
Evan You
fe801b16e4
wip: fix $parent after children change
8 years ago
Evan You
b5b963f51d
wip: refactor children resolution (remove thunk mechanism)
8 years ago
Evan You
c66b7566c6
fix flow
8 years ago
Evan You
59b2a0eeb3
support class/style in v-bind object
8 years ago
Evan You
40b93e6527
avoid unnecessary enter transitions on nested inserted elements
8 years ago
Evan You
35ee5b105e
remove staticAttrs
8 years ago
Evan You
3ce450b6dc
use more proper flow type syntax
8 years ago
Evan You
ea9c6c37c3
support v-on .native modifier on components
8 years ago
Evan You
69ecdcb05e
rename vnode.data.props -> domProps
8 years ago
Evan You
e6871a33c1
update flow annotations
8 years ago
Evan You
9421bd4806
extract getRealChild for abstract components
9 years ago
Evan You
a5a9dc9b69
support keep-alive
9 years ago
Evan You
4bcdce895c
record original tag name on vnode for components using is attribute
9 years ago
Evan You
d40ab0ca87
fix component client-side hydration
9 years ago
Evan You
f8cfc81826
remove unnecessary v-pre related code
9 years ago
Evan You
7f85acb4e5
expose oldValue on directive bindings
9 years ago
Evan You
837853d95a
better inferring of component names in warnings
9 years ago
Evan You
750bec1024
annotate platforms/web
9 years ago
Evan You
59fcd4e7a7
finish annotating vdom
9 years ago
Evan You
45d96c7dbc
annotation for vdom (wip)
9 years ago