docs(annotations): replaces old syntax for hostListeners with host
Closes #3672
This commit is contained in:
parent
a06f48e357
commit
8b655c7be3
|
@ -246,9 +246,9 @@ import {DEFAULT} from 'angular2/change_detection';
|
|||
* properties: [
|
||||
* 'text: tooltip'
|
||||
* ],
|
||||
* hostListeners: {
|
||||
* 'onmouseenter': 'onMouseEnter()',
|
||||
* 'onmouseleave': 'onMouseLeave()'
|
||||
* host: {
|
||||
* '(mouseenter)': 'onMouseEnter()',
|
||||
* '(mouseleave)': 'onMouseLeave()'
|
||||
* }
|
||||
* })
|
||||
* class Tooltip{
|
||||
|
|
Loading…
Reference in New Issue