Documentation

class ElementBuilder

An abstract base class for UI element builders.

abstract class ElementBuilder<
TView extends UIElement,
> implements ViewBuilder<TView>;

Notes

Description

This class provides a fluent interface for creating and configuring UI elements, including all built-in containers and controls. Objects of this type are returned by functions such as UI.Button, UI.Text, and UI.Column, with additional methods as included in their specific return type (e.g. UIButton.ButtonBuilder).

Instance members

Related