angular2: Fix typings for decorators

This commit is contained in:
Alex Eagle committed 2015-06-05 22:13:58 -07:00
1 parent 8c7444882a
commit 9d6d25287e
2 files changed
+135 -850

No files matched your search

+10
View File
@@ -21,6 +21,16 @@ Cmp.annotations = [
ng.View({
template: '{{greeting}} world!',
directives: [ng.NgFor, ng.NgIf]
}),
ng.Directive({
selector: '[tooltip]',
properties: [
'text: tooltip'
],
hostListeners: {
'onmouseenter': 'onMouseEnter()',
'onmouseleave': 'onMouseLeave()'
}
})
];