docs(annotations): replaces old syntax for hostListeners with host

Closes #3672
This commit is contained in:
Isaac Park 2015-08-16 20:37:31 -04:00 committed by Pawel Kozlowski
parent a06f48e357
commit 8b655c7be3
1 changed files with 3 additions and 3 deletions

View File

@ -246,9 +246,9 @@ import {DEFAULT} from 'angular2/change_detection';
* properties: [ * properties: [
* 'text: tooltip' * 'text: tooltip'
* ], * ],
* hostListeners: { * host: {
* 'onmouseenter': 'onMouseEnter()', * '(mouseenter)': 'onMouseEnter()',
* 'onmouseleave': 'onMouseLeave()' * '(mouseleave)': 'onMouseLeave()'
* } * }
* }) * })
* class Tooltip{ * class Tooltip{