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

What about suspendRender option for template binding? #1358

Closed
DzenisevichK opened this issue Mar 18, 2014 · 5 comments
Closed

What about suspendRender option for template binding? #1358

DzenisevichK opened this issue Mar 18, 2014 · 5 comments

Comments

@DzenisevichK
Copy link

Several test cases:

  1. jQueryMobile multi-page application (http://view.jquerymobile.com/master/demos/pages-multi-page/) where changes on one page case re-rendering template on another page. It will be good to re-render the second page on showing with this:
{
  data: data,
  suspendRender: !active()
}
  1. When page have two modes: viewing and filtering (here filters selection and data statistics). Better to re-render filtered data after switching from filtering to viewing mode:
{
  data: data,
  suspendRender: filtering
}
@mbest
Copy link
Member

mbest commented Mar 18, 2014

The template binding does have an if option. Is that not what you want?

@DzenisevichK
Copy link
Author

if binding will case re-rendering. I just want to delay rendering (no markup manipulation when suspendRender is true)

@mbest
Copy link
Member

mbest commented Mar 18, 2014

Thanks for the clarification. I was actually thinking today of the same thing.

@AdamWillden
Copy link
Contributor

+1 I also have a number of places where this would be useful in order to stop intermediate (unnecessary) GUI updates.

@SteveSanderson
Copy link
Contributor

To help us focus on more highly-prioritised issues, we're tidying up our issue backlog. We're closing the oldest feature requests that don't have pull requests and score very low on our triage ranking system. The low triage score for this feature request suggests we should focus our finite resources on other issues. For more details, see here. Thanks for posting this feature request though. If you still actively want this feature, please reopen this issue, or post a new one (and ideally, be prepared to supply a pull request if we agree the feature would be accepted). Thanks!

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

4 participants