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: [
|
* properties: [
|
||||||
* 'text: tooltip'
|
* 'text: tooltip'
|
||||||
* ],
|
* ],
|
||||||
* hostListeners: {
|
* host: {
|
||||||
* 'onmouseenter': 'onMouseEnter()',
|
* '(mouseenter)': 'onMouseEnter()',
|
||||||
* 'onmouseleave': 'onMouseLeave()'
|
* '(mouseleave)': 'onMouseLeave()'
|
||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
* class Tooltip{
|
* class Tooltip{
|
||||||
|
|
Loading…
Reference in New Issue