angular2-2.0.0-alpha.37

This commit is contained in:
Misko Hevery
2015-09-10 13:33:53 -07:00
parent 76ed26e95e
commit 0b26f2d03d
9 changed files with 21911 additions and 604 deletions
+4 -4
View File
@@ -16,7 +16,7 @@ class Cmp {
Cmp.annotations = [
Component({
selector: 'cmp',
injectables: [Service, bind(Service2).toValue(null)]
bindings: [Service, bind(Service2).toValue(null)]
}),
View({
template: '{{greeting}} world!',
@@ -27,9 +27,9 @@ Cmp.annotations = [
properties: [
'text: tooltip'
],
hostListeners: {
'onmouseenter': 'onMouseEnter()',
'onmouseleave': 'onMouseLeave()'
host: {
'(onmouseenter)': 'onMouseEnter()',
'(onmouseleave)': 'onMouseLeave()'
}
})
];