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

contentBlock inside of Template.dynamic #4756

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

contentBlock inside of Template.dynamic #4756

maxnowack opened this issue Jul 15, 2015 · 3 comments

Comments

@maxnowack
Copy link
Contributor

@maxnowack 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
Copy link
Member

@glasser 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
Copy link
Contributor

@zimme 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
@dotnetwise
Copy link

@dotnetwise dotnetwise 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants