Skip to content

[class] vs [ngClass] #104

@abhijeetkpawar

Description

@abhijeetkpawar

https://github.com/codecraft-tv/angular-course/blob/current/5.built-in-directives/4.ngstyle-and-ngclass/index.adoc#alternative-syntax-1

Important The above syntax removes all the existing classes for that element and replaces them with just 'text-success'.

The above statement isn't true anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions