Skip to content

Support Angular [ngClass]  #187

@alexbjorlig

Description

@alexbjorlig

Angular supports adding classes based on conditions like this:

<div ngClass="{
  'hover:text-blue-700 hover:underline': <some-condition>
}">
</div>

This makes it easy to add classes based on a condition. However, the extension does not seem to work in this case?

Screenshot 2020-09-10 at 21 35 28

Would be awesome if it worked, because it's a fairly common way of assigning classes in Angular

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions