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

IE 10+11 + data binding in inline style not working in Polymer v0.5.4 #1124

Closed
eeid26 opened this issue Jan 25, 2015 · 3 comments
Closed

IE 10+11 + data binding in inline style not working in Polymer v0.5.4 #1124

eeid26 opened this issue Jan 25, 2015 · 3 comments

Comments

@eeid26
Copy link

eeid26 commented Jan 25, 2015

Works under chrome and ff but not ie
http://jsbin.com/xoremiwite/2/edit

@sjmiles
Copy link
Contributor

sjmiles commented Jan 25, 2015

IE doesn't allow {{ }} in the value of the style attribute, use _style instead.

See information here https://www.polymer-project.org/docs/polymer/databinding-compat.html#binding-to-attributes

@eeid26
Copy link
Author

eeid26 commented Jan 25, 2015

Thank you. it works now. I don't know how I missed that compatibility note.

@eeid26 eeid26 closed this as completed Jan 25, 2015
@sjmiles
Copy link
Contributor

sjmiles commented Jan 25, 2015

This information should be more prominent, this is a common problem.

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

No branches or pull requests

2 participants