mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
angular2-2.0.0-alpha.37
This commit is contained in:
@@ -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()'
|
||||
}
|
||||
})
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user