doc(Directive): update docs for Directive.host

This commit is contained in:
Victor Berchet
2015-06-09 12:46:21 +02:00
committed by Tobias Bosch
parent f3b49378e4
commit 20953ed492
2 changed files with 37 additions and 42 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ Here is a trivial example of a tooltip decorator. The directive will log a toolt
properties: [ | List which properties need to be bound
'text: tooltip' | - DOM element tooltip property should be
], | mapped to the directive text property.
hostListeners: { | List which events need to be mapped.
mouseover: 'show' | - Invoke the show() method every time
host: { | List which events need to be mapped.
(mouseover): 'show()' | - Invoke the show() method every time
} | the mouseover event is fired.
}) |
class Form { | Directive controller class, instantiated