From f1fca5abb67a9f7753c7074f7c08b48fe5d49097 Mon Sep 17 00:00:00 2001 From: Nick Van Dyck Date: Thu, 19 Mar 2015 14:31:41 +0100 Subject: [PATCH] (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 --- modules/angular2/docs/core/02_directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/angular2/docs/core/02_directives.md b/modules/angular2/docs/core/02_directives.md index fac5878369..bc9683d9a3 100644 --- a/modules/angular2/docs/core/02_directives.md +++ b/modules/angular2/docs/core/02_directives.md @@ -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. })