From 5d544c0405422e1356e5c25e7739e58afa8b0205 Mon Sep 17 00:00:00 2001 From: Chirayu Krishnappa Date: Wed, 5 Feb 2014 12:42:56 -0800 Subject: [PATCH] docs(ng-class): expound on the map syntax Closes #221 --- lib/directive/ng_class.dart | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/lib/directive/ng_class.dart b/lib/directive/ng_class.dart index 171166a88..73f86eb80 100644 --- a/lib/directive/ng_class.dart +++ b/lib/directive/ng_class.dart @@ -19,14 +19,28 @@ part of angular.directive; * * index.html: * - *

Map Syntax Example

+ * + *

Map Syntax Example

* bold * strike * red *
+ * *

Using String Syntax

* *
+ * *

Using Array Syntax

*
*
@@ -37,6 +51,9 @@ part of angular.directive; * .strike { * text-decoration: line-through; * } + * .line-through { + * text-decoration: line-through; + * } * .bold { * font-weight: bold; * }