Evan You
7e46683470
refactor: simplify internal component creation
2017-11-28 15:10:08 -05:00
Evan You
f5cd29e1d8
fix: init _staticTrees to avoid runtime reference warning
...
fix #7075
2017-11-17 09:45:03 -05:00
Evan You
cfd73c2386
fix: handle encoded tabs and newlines in attributes for Chrome a[href] and IE/Edge
...
fix #6828 , fix #6916
2017-10-26 16:01:12 +02:00
Evan You
bb1d888d44
refactor: remove no longer needed _staticTrees property
2017-10-11 12:04:07 -04:00
Evan You
f3fe012d54
feat(v-model): support dynamic input type binding
2017-10-07 23:18:11 -04:00
Evan You
96472be6f6
types: add types for new features and adjust tests
2017-10-06 17:41:54 -04:00
Evan You
4987eeb3a7
feat: v-on automatic key inference
2017-10-04 14:59:59 -04:00
赵鑫晖
59dbd4a414
fix: ensure $attrs and $listeners are always objects ( #6441 )
...
fix #6263
2017-08-29 22:59:39 +02:00
Evan You
1f9e924971
feat(types): add declaration for inheritAttrs
2017-07-11 22:43:31 +08:00
Evan You
61187596b9
feat(core): $attrs, $listeners & inheritAttrs option
...
New features intended for easier creation of higher-order components.
- New instance properties: $attrs & $listeners. these are essentially aliases
of $vnode.data.attrs and $vnode.data.on, but are reactive.
- New component option: inheritAttrs. Turns off the default behavior where
parent scope non-prop bindings are automatically inherited on component root
as attributes.
close #5983 .
2017-07-11 22:38:09 +08:00
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.
2017-07-11 16:36:04 +08:00
wenlu.wang
e4da249ab8
feat: add comments
option to allow preserving comments in template ( #5951 )
...
close #5392
2017-06-30 08:56:23 +08:00
wenlu.wang
3965e5053a
feat: support sync modifier for v-bind="object" ( #5943 )
...
close #5937
2017-06-30 08:46:54 +08:00
gebilaoxiong
d33c1250ee
fix:when using object syntax in v-bind, special attribute have no effect
2017-06-17 02:02:37 +08:00
Evan You
c994e5cf48
upgrade flow
2017-06-13 17:42:16 +08:00
Evan You
55d8bfd6fd
support scopeId
2017-05-18 16:33:55 +08:00
Evan You
36bdf48550
handle dynamic class
2017-05-17 23:46:14 +08:00
Evan You
9fbca0dc79
remove unused, fix type
2017-05-17 14:40:06 +08:00
Evan You
85e24b3b31
progress
2017-05-16 17:52:28 +08:00
Evan You
26953f5cac
add semis to flow decls for better syntax highlighting
2017-05-15 16:01:30 +08:00
Evan You
af12d3ff7f
progress
2017-05-15 14:14:49 +08:00
Evan You
0ccefff794
support v-for on scoped slots ( fix #5615 )
2017-05-09 23:22:55 +08:00
Herrington Darkholme
bb7c543fc2
fix #5539 : improve isDef
type definition ( #5549 )
...
* fix #5539 : improve flow type coverage
* skip unnecessary object creation
* use flow internal syntax to enable predicate type
2017-04-29 14:24:06 +08:00
Evan You
94d5e332d1
use lodash.template for ssr templates by default
2017-04-19 11:43:53 +08:00
Evan You
a7965292f4
comments for flow type nodes
2017-04-07 16:10:36 +08:00
Evan You
1073035164
fix activate hook call timing (fix vue-router#1212)
2017-04-07 15:30:37 +08:00
Evan You
a12d32a56d
fix style diffing on cached/slot elements ( fix #5318 )
2017-04-03 14:13:57 +08:00
Evan You
fae6b87786
refactor: pull in vue-ssr-html-stream and refactor into generic template renderer
2017-03-29 10:14:28 +08:00
Hanks
29445153e3
[weex] Support unary and left open tags ( #5052 )
...
* [weex] Support unary and left open tags
* [weex] add test case for unary tag
* [compiler] move canBeLeftOpenTag to compiler option
2017-03-15 09:56:25 +08:00
Evan You
12870be9e0
expose component v-model expression on passed data
2017-03-08 15:39:47 +08:00
kazuya kawaguchi
0922b1d8aa
improve set/delete API ( #5050 )
2017-03-03 12:07:42 +08:00
Bojan
1b38a261c5
support multi event ( #5056 )
2017-03-03 11:51:57 +08:00
Evan You
3b7b597044
cover Symbol for provide/inject typing
2017-02-25 23:19:36 -05:00
Evan You
e7a2510e63
Revert "[WIP] Support for ref callback ( #4807 )"
...
This reverts commit acec8db2c4
.
2017-02-24 18:17:04 -05:00
Evan You
f66028b9cd
introduce tip + make v-for component key warning a tip + refactor web compiler entry
2017-02-24 16:59:41 -05:00
Evan You
4cf49828c0
properly handle cosntructor options modification before global mixin application ( fix #4976 )
2017-02-23 18:11:18 -05:00
Evan You
73c5614740
update types for new features
2017-02-21 22:35:50 -05:00
Evan You
689c107de4
feat: config.performance
2017-02-20 18:35:04 -05:00
Evan You
1861ee9570
feat: renderError
2017-02-20 00:16:40 -05:00
Evan You
9ccffe72db
invoke activate/deactivate recursively + refactor ( close #4242 )
2017-02-17 18:56:09 -05:00
kingwl
8bb6c2bdaa
support $on multi event ( #4860 )
2017-02-15 18:39:53 -05:00
Rahul Kadyan
acec8db2c4
[WIP] Support for ref callback ( #4807 )
...
* ✨ Tests for ref callback
* ✨ Support for ref callback
* Add test of inline ref callback
* adjust ref implementation strategy
* fix patch ref registration
* fix tests
* fix flow
* fix test for phantomjs
2017-02-15 17:29:13 -05:00
Evan You
406352baba
move computed properties definition to component prototype when possible
2017-02-14 12:03:14 -05:00
Evan You
87ffd0da9f
tweaks
2017-02-14 11:39:05 -05:00
yantene
22f9560c92
add $props
2017-02-14 11:39:05 -05:00
Evan You
1c79592524
feat: implement template option for vue-server-renderer
2017-02-13 13:34:05 -05:00
Evan You
e71d70dcb3
tweak build + upgrade flow
2017-02-13 13:33:42 -05:00
Evan You
068095579b
support source map in bundle renderer
2017-02-03 10:42:19 -05:00
Evan You
e7083d09f1
fix scoped slots with dynamic slot names + force update for child components with scoped slots ( fix #4779 )
2017-01-24 11:04:02 -05:00
Evan You
9d6c8ec268
feat: allow customization of component v-model prop/event via model option ( close #4515 )
2017-01-22 14:31:43 -05:00