Skip to content

Commit f1fca5a

Browse files
vandycknickmhevery
authored andcommitted
(docs) decorator events property
As from what i understand shouldn't the event property rather be events: https://github.com/angular/angular/blob/master/modules/angular2/src/core/annotations/annotations.js#L161 Closes angular#1018
1 parent 045ce3c commit f1fca5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Here is a trivial example of a tooltip decorator. The directive will log a toolt
7070
bind: { // List which properties need to be bound
7171
text: 'tooltip' // - DOM element tooltip property should be
7272
}, // mapped to the directive text property.
73-
event: { // List which events need to be mapped.
73+
events: { // List which events need to be mapped.
7474
mouseover: 'show' // - Invoke the show() method every time
7575
} // the mouseover event is fired.
7676
})

0 commit comments

Comments
 (0)