Documentation

class View

An abstract class that represents a view.

abstract class View extends ObservableObject;

Description

The view is one of the main architectural components of an application. It provides a method to render its encapsulated content, either directly or using a collection of built-in UI elements.

Views are typically expressed using functions that return view builders (i.e. ‘blueprints’ or templates that define a view with a particular configuration and content). Afterwards, views can be rendered on their own (using app.render()), included as content within another view, or used by an activity (setting its static view property).

Instance members

Inherited members

Related