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

Wrapping non interpolated strings with span in 1.0 #1664

Closed
nathanjohnson320 opened this issue May 29, 2015 · 4 comments
Closed

Wrapping non interpolated strings with span in 1.0 #1664

nathanjohnson320 opened this issue May 29, 2015 · 4 comments

Comments

@nathanjohnson320
Copy link

Is there a particular reason why you have to wrap strings that aren't in {{ }} in a span or some other element?

In 0.5 I could do something like

<div>per {{ product.UnitType }}</div>

But it 1.0 I have to do

<div><span>per </span>{{ product.UnitType }}</div>
@kevinpschaaf
Copy link
Member

We didn't quite land that feature in 1.0, but it's on the near-term roadmap.
https://www.polymer-project.org/1.0/docs/#binding-features

@TimWillis
Copy link

@kevinpschaaf - Is there a place to see the progress of this "near-term roadmap"? This feature for strings in the html and attributes is keeping me from migrating from .5.x to 1.x - it's just way to much of a rewrite especially for attributes as I would have to make tons of computed's like for anchors and href attributes... thanks

@kevinpschaaf
Copy link
Member

It should be on the order of weeks, not months.

@TimWillis
Copy link

Awesome, thank you!

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

3 participants