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

Add support for <content> #2

Open
tomalec opened this issue Mar 28, 2014 · 0 comments
Open

Add support for <content> #2

tomalec opened this issue Mar 28, 2014 · 0 comments

Comments

@tomalec
Copy link
Member

tomalec commented Mar 28, 2014

So we could in fact nest imported partial into client template:

<template is="imported-template" content="{{ html }}">
  <h2>Partial is already loaded</h2>
  <ul>
    <content></content>
  </ul>
</template>

Which will produce same result as:

<h2>Partial is already loaded</h2>
<ul>
  <template is="imported-template" content="{{ html }}">
  </template>
</ul>

But <h2> and <ul> won't be visible until partial is loaded.

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

No branches or pull requests

2 participants