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

Any support for Partials? #2

Open
drone1 opened this issue Feb 18, 2020 · 2 comments
Open

Any support for Partials? #2

drone1 opened this issue Feb 18, 2020 · 2 comments

Comments

@drone1
Copy link

drone1 commented Feb 18, 2020

Hey again.

While you make it quite clear this is more for a simple one-pager type app, that is pretty much what I'm using it for and I'm having a hard time figuring out a way to actually make use of it, since changing a template var causes the entire template to re-render, and there doesn't seem to be support for reactive partials.

I've got a simple page that plays video. Below the video there are some tabs for the user to click through. However, the way it's currently implemented, changing my tab template variable just re-renders the entire page, which of course interrupts the video.

Any way you're aware of that I can re-render only my tab area, with partials or something like this? Otherwise I guess I'll just have to always render all tabs and then show/hide using Javascript. :/

Thanks for any help.

@hadijaveed
Copy link
Owner

@drone1 yeah this library don't support partials at the moment. Since it was a small library to support HBS templates. I can work on it though.

@drone1
Copy link
Author

drone1 commented Feb 19, 2020 via email

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

2 participants