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

Warn when assigning custom attribute via interpolation #147

Open
MeirionHughes opened this issue Dec 12, 2016 · 2 comments
Open

Warn when assigning custom attribute via interpolation #147

MeirionHughes opened this issue Dec 12, 2016 · 2 comments

Comments

@MeirionHughes
Copy link
Contributor

MeirionHughes commented Dec 12, 2016

<div something="${foo}"></div>

should raise an issue (not supported)

@atsu85
Copy link
Contributor

atsu85 commented Dec 12, 2016

I guess if tag has also as-element attribute containing valid custom element tag name, then it would be ok. For example:
<div something="${foo}" as-element="my-custom-element"></div>

@MeirionHughes
Copy link
Contributor Author

Good point. Also I guess would need to rule out all custom-attribute handlers too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants