html - Using Polymer attributes within brackets -


hello trying use polymer attributes in css.

this code:

background: url( {{ image }} ); 

but doesn't seem work , outputs

url('%7b%7b%20image%20%7d%7d'); 

i don't think polymer supports template binding within <style> tag. instead use inline style attribute on element, or add imagechanged handler , use cssom edit stylesheet.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -