Skip to content

Commit

Permalink
docs(common): add an example how to bind multiple classes based on a …
Browse files Browse the repository at this point in the history
…single parameter (angular#13779)

Closes angular#13778
  • Loading branch information
Dzmitry Shylovich authored and IgorMinar committed Jan 5, 2017
1 parent 9898d8f commit f822f95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/@angular/common/src/directives/ng_class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import {isPresent, stringify} from '../facade/lang';
* <some-element [ngClass]="{'first': true, 'second': true, 'third': false}">...</some-element>
*
* <some-element [ngClass]="stringExp|arrayExp|objExp">...</some-element>
*
* <some-element [ngClass]="{'class1 class2 class3' : true}">...</some-element>
* ```
*
* @description
Expand Down

0 comments on commit f822f95

Please sign in to comment.