Skip to content

Commit 944ccc9

Browse files
committed
Removed unused parameter
Closes angular#3810
1 parent 9262727 commit 944ccc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/angular2/docs/core/02_directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ Here is a trivial example of a tooltip decorator. The directive will log a toolt
6767
'text: tooltip' | - DOM element tooltip property should be
6868
], | mapped to the directive text property.
6969
host: { | List which events need to be mapped.
70-
'(mouseover)': 'show()' | - Invoke the show() method every time
70+
'(mouseover)': 'show()' | - Invoke the show() method every time
7171
} | the mouseover event is fired.
7272
}) |
7373
class Form { | Directive controller class, instantiated
7474
| when CSS matches.
7575
text:string; | text property on the Directive Controller.
7676
|
77-
show(event) { | Show method which implements the show action.
77+
show() { | Show method which implements the show action.
7878
console.log(this.text); |
7979
}
8080
}

0 commit comments

Comments
 (0)