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

contentBlock inside of Template.dynamic #4756

Closed
maxnowack opened this Issue Jul 15, 2015 · 3 comments

Comments

Projects
None yet
4 participants
@maxnowack
Contributor

maxnowack commented Jul 15, 2015

It would be cool if Template.contentBlock can be used with Template.dynamic
Maybe some code can better explain what I mean:

{{#Template.dynamic template="Test"}}
  Dynamic
{{/Template.dynamic}}
<template name="Test">
  <div>
    Content from:
    {{> Template.contentBlock}}
  </div>
</template>
@glasser

This comment has been minimized.

Member

glasser commented Jul 21, 2015

Thanks for the feature request! We welcome discussions about how to make Meteor better. If you haven't yet, check out our wiki page about feature requests on GitHub.

@zimme

This comment has been minimized.

Contributor

zimme commented Sep 25, 2015

Nice, with this iron:router's layout thing can be re-implemented with Template.dynamic instead if it's own dynamic template thing =)

@stubailo stubailo closed this in 53a1c01 Oct 13, 2015

@adaptabi

This comment has been minimized.

adaptabi commented Oct 30, 2015

why not

{{#dynamic name=xxx}}
abc
{{/dynamic}}

as opposite to longer uglier Template.dynamic

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