doc(Directive): update docs for Directive.host
This commit is contained in:
committed by
Tobias Bosch
parent
f3b49378e4
commit
20953ed492
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user