View States

Page-level state management for show diferent parts to the user

The View States feature is a way of putting different filters over parts of your application so that different things appear depending on what the app is doing, what permissions the user has, what the user just did, or some other condition. You create a series of “states” and associate components of your application with one or more of the states.

Learn how to use View States in your app:

  • A tutorial on View States on the Royale blog.
  • The Tour de Jewel page, which has a wealth of example of using Royale’s Jewel component set, has an interactive demonstration of using View States with both “includeIn” and dot notation, with downloadable code you can adapt to your app’s needs.