All apps in the client can be opened and closed. This is great to combine with visual states in your UI. It is mainly just a visual state, but also affects performance and some functionality. By default apps are opened when loaded. This can be controlled by the
.close() methods. When any app opens or closes there is a corresponding event fired. This makes it possible to react to visual app states.