I am unable to use the attribute of an element individually, every time i
have to enclose it with a HTML tag.
example :
<polymer-element name="hello-world" attributes="owner">
<template>
<p>This is {{owner}} color-picker.
He likes the color</p>
</template>
<script>
Polymer({
is:"hello-world"
});
</script>
</polymer-element>
this will render -- This is {{owner}} color-picker
But when i enclose it with a span or any other html tag it works correctly.
<template>
<p>This is <span>{{owner}}</span> color-picker.
He likes the color</p>
</template>
This will render correctly with the given input. Is this the functionality?
or if am i am doing anything wrong.
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/0d1b42de-a38f-45be-b02f-530b14aaa64b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.