(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 #1018
This commit is contained in:
Nick Van Dyck 2015-03-19 14:31:41 +01:00 committed by Misko Hevery
parent 045ce3c77a
commit f1fca5abb6
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ Here is a trivial example of a tooltip decorator. The directive will log a toolt
bind: { // List which properties need to be bound
text: 'tooltip' // - DOM element tooltip property should be
}, // mapped to the directive text property.
event: { // List which events need to be mapped.
events: { // List which events need to be mapped.
mouseover: 'show' // - Invoke the show() method every time
} // the mouseover event is fired.
})