Saturday, February 3, 2018

[class.active]="myThing.isActive"

Based on a groc of the truthy or falsey state of this setting, we may conditionally apply the "active" class to an element in Angular 5.

No comments:

Post a Comment