Evan You
3294eba5a5
fix v-on .left .right compat with keyboard events ( fix #5046 )
8 years ago
Evan You
f66028b9cd
introduce tip + make v-for component key warning a tip + refactor web compiler entry
8 years ago
kingwl
0e2dafa74c
support mouse event modifier ( #4866 )
8 years ago
Evan You
05c769bf44
fix .once with other modifiers that prevent execution of a handler ( fix #4846 )
8 years ago
Evan You
f59aef08e6
further improve end tag check ( close #4408 )
8 years ago
Eduardo San Martin Morote
ec7fca8495
Fix multiple attr in select with undefined value ( #4859 )
Fix #4855
8 years ago
Evan You
5ae63d9d2f
warn v-for component lists without explicit keys
8 years ago
Evan You
6cbee6b286
refactor: extract universal v-model codegen code and update weex v-model codegen
8 years ago
Evan You
379695c912
complete coverage by testing v-model with extra listeners
8 years ago
Phan An
b4115f71b2
Remove warnings about inline value attributes for v-model ( closes #4733 ) ( #4770 )
8 years ago
Evan You
9d6c8ec268
feat: allow customization of component v-model prop/event via model option ( close #4515 )
8 years ago
chengchao
9e38abca3e
Support select multiple binding ( fix #4755 ) ( #4756 )
* support select multiple binding
* improve select onchange handle
* update style
8 years ago
Evan You
55c87aa2c5
fix multi-select test case bug detection in IE9
8 years ago
Evan You
ee6ad6af0e
fix v-on .once on multiple elements ( fix #4655 )
8 years ago
Evan You
bb426258a1
skip multiple select tests on Android 4.4 by detecting its bug
8 years ago
chengchao
8be3aa4859
update test case ( #4653 )
8 years ago
chengchao
da955d1a4f
Use 'click' event for checkbox and radio ( fix #4620 ) ( #4639 )
* listen to click event for checkbox and radio.
* add test cases
8 years ago
chengchao
bc140de48b
improve looseequal test case ( #4542 )
8 years ago
chengchao
56bfa1d291
update loose equal, check toString value for primitive type ( #4528 )
8 years ago
chengchao
be9210fc78
update dom prop for option.value ( fix #4494 ) ( #4505 )
* update dom prop for option.value
* refactor value update logic
8 years ago
Evan You
a977642fac
unbind v-show if no longer present during patch ( fix #4484 )
8 years ago
Eduardo San Martin Morote
974247fd8e
Add missing string handler in v-for ( #4499 )
Fix #4497
8 years ago
Evan You
4cca50725a
fix v-for on v-else branch regression ( fix #4464 )
8 years ago
Evan You
850fb9fbcb
fix number update spec in ie9
8 years ago
chengchao
183bd43c3e
fix v-bind.prop parse ( fix #4432 ) ( #4435 )
* reset isProp value
* add test case
* update test case
* fix typo
8 years ago
Evan You
8a7b02a159
avoid v-model with .trim/.number updating value when in focus ( fix #4392 )
8 years ago
Evan You
c4da6c7f9c
fix select multiple warning test case in IE
8 years ago
chengchao
dde0454e7e
fix static style parse error. ( #4349 )
8 years ago
Evan You
66bacb015c
make .once modifier work for component v-on as well
8 years ago
chengchao
6ea9a4db42
Support mutliple keys for keycode ( #4328 )
* support mutliple keys for keycode
* update flow type
* add test case
* update comment
* update flow type
* update comment
8 years ago
Changyu Geng
9215ff0295
Modifier once for v-on ( #4267 )
* Modifier once for v-on
* Reformat code
* Modifier once for v-on: using removeEventListener instead, bug fix of handler arguments passing, bug fix of modifier ordering problem
* Enhancement of event listener removal which allows rendering of capturing / once events for render function
* Reformat code
8 years ago
Evan You
3cfd84346f
fix style !important spec
8 years ago
Evan You
26b6374c3c
test for static style !important support
8 years ago
Evan You
1a7b910feb
inherit child reference from old node when patching static nodes ( fix #4288 )
8 years ago
Evan You
cc4f4c5bda
v-elseif -> v-else-if
8 years ago
chengchao
af78bcf916
Support v-if multiple conditions ( #4271 )
* add if conditions
* update v-if conditional
* update test
* update test case
* add test case
* update if conditions
* update walkThroughConditionsBlocks
* update v-elseif
* update v-once with v-elseif test case
* update style with v-elseif
* update flow type
8 years ago
Evan You
03043b9081
support .camel modifier
8 years ago
Evan You
0b78ea9696
properly handle inline function expressions in v-on
8 years ago
chengchao
c1b84f87fb
fix markStaticRoots with v-else ( #4256 )
8 years ago
chengchao
8f7c49c9ba
Remove old static style when applying style update ( fix #4227 ) ( #4235 )
* both static style and stylebinding should be removed
* update test case
* update test case
8 years ago
Dexter Miguel
f80231773e
destroyed elements pass their styles onto others that are similar ( #4232 )
8 years ago
Evan You
438b51793f
fix style merging assertion in IE
8 years ago
Evan You
3e8ac270a8
fix .trim modifier when v-model is used on custom component ( fix #4204 )
8 years ago
chengchao
77497931e0
fix v-once inside v-for and v-once with v-if ( #4200 )
8 years ago
chengchao
46b3bcd707
fix object dot notation bug ( fix #4185 ) ( #4188 )
* fix object dot notation bug
* add test case
8 years ago
勾三股四
4f84aefe43
support v-model in weex ( #4178 )
* [wip] supported v-model in Weex
* fixed v-model in weex
* added test cases for v-model in weex
* used strToRegExp for all test cases in weex
* fixed eslint
* fixed parseModel test case
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
Evan You
ec824be88e
fix v-once inside v-for ( fix #3964 )
8 years ago
Evan You
4b8eb75c7a
fix coverage
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