From 944ccc9a94dc981f4c1946881a2238592339c2ff Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 24 Aug 2015 20:04:50 +0300 Subject: [PATCH] Removed unused parameter Closes #3810 --- modules/angular2/docs/core/02_directives.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/angular2/docs/core/02_directives.md b/modules/angular2/docs/core/02_directives.md index 9b16ecd332..0b5b1d6b8e 100644 --- a/modules/angular2/docs/core/02_directives.md +++ b/modules/angular2/docs/core/02_directives.md @@ -67,14 +67,14 @@ Here is a trivial example of a tooltip decorator. The directive will log a toolt 'text: tooltip' | - DOM element tooltip property should be ], | mapped to the directive text property. host: { | List which events need to be mapped. - '(mouseover)': 'show()' | - Invoke the show() method every time + '(mouseover)': 'show()' | - Invoke the show() method every time } | the mouseover event is fired. }) | class Form { | Directive controller class, instantiated | when CSS matches. text:string; | text property on the Directive Controller. | - show(event) { | Show method which implements the show action. + show() { | Show method which implements the show action. console.log(this.text); | } }