Querying the DOM with Cached Views in Ionic Framework

By - Justin Noel

Cached views are a blessing for navigating back and forth in an Ionic Framework apps. Caching helps with things like maintaining the scroll position in a back view.

For example, if you're scrolled halfway down a list of customers and tap one of them to go to a detail view, when you navigate back, the customer list will be in the same position.

Here's how cached views look in the DOM. Notice there is always only one "active" nav-view. There may be one or several "cached" nav-view elements.

Read the full article....

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment


Post a Comment