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

With <template if=> missing how can I have several different styles applied? #1419

Closed
josator opened this issue Apr 17, 2015 · 2 comments
Closed
Labels

Comments

@josator
Copy link

josator commented Apr 17, 2015

How can I have different css styles inside a polymer element now that the <template if=> is gone?
¿What about adding a <style if=> tag?

@Punk-UnDeaD
Copy link

try different class or calculated style attribute
<div class=spacer style="{{spacerStyle(status)}}"></div>

@tjsavage tjsavage added the 0.5 label May 21, 2015
@josator
Copy link
Author

josator commented Jun 16, 2015

I opened this months ago and the answer solved my question. You can close it.

@josator josator closed this as completed Jun 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants