Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute binding in Angular #47

Open
netdjw opened this issue May 4, 2021 · 0 comments
Open

Attribute binding in Angular #47

netdjw opened this issue May 4, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@netdjw
Copy link

netdjw commented May 4, 2021

Describe the bug
In Angular we use attribute binding, but the plugin doesn't support it.

To Reproduce
Steps to reproduce the behavior:

  1. Create a simple angular project
  2. Write this to template: <img [src]="folder.Icon" [alt]="folder.Label"> or this: <img [src]="folder.Icon" [attr.alt]="folder.Label">
  3. See error: Provide an alt text that describes the image, or alt="" if image is purely decorative

Expected behavior
I expect to accept and handle both of these definitions as a correct solutions, because these are Angular specific goog practices.

Visual Studio Code (please complete the following information):

  • Version 1.55.2

Additional context
This expected behavior expected with any attributes.

@mvdschee mvdschee added the enhancement New feature or request label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants