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

Unable to load dynamic partial #250

Open
tlginn opened this issue May 27, 2016 · 0 comments
Open

Unable to load dynamic partial #250

tlginn opened this issue May 27, 2016 · 0 comments

Comments

@tlginn
Copy link

tlginn commented May 27, 2016

Given this context

{ getPartialPath: function(){ return myBoolean ? "./partial1" : "./partial2"; } }

for this template:

<div>{{> (getPartialPath) }}</div>

It would be nice if the plugin would load the partial from the return value of getPartialPath. So far I have not found a way to specify dynamic partials with this plugin. Any workaround would be appreciated.

Thank you for your time.

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

1 participant