Docs (4.0.0)
class UIContainer method

applyViewPreset

Applies the provided preset properties to this object.

applyViewPreset(preset: View.ViewPreset<UIComponent, this, "layout" | "padding" | "spacing"> & {
    allowFocus?: boolean;
    allowKeyboardFocus?: boolean;
    asyncContentRendering?: boolean;
    onContentRendering?: string;
}): void

Notes

  • This method is called automatically. Do not call this method after constructing a UI component.

Related

  • class UIContainer abstractA base view class that represents a container component with no specific layout or styling.