In a training video of angular, I saw some codes, like these below:
<button class="nav nav-primary" [class.active]="isActive">
and in the component, If we let the variable isActive=true,then the button has the "active" class;if let the variable isActive=false,then the button has not the "active" class.
I know that this is a one-way binding, but I want to know what's the grammar mean of "class.active"? (the "class" has a property of"active"? but this is impossible.