Docs (4.0.0)
ui method

scroll

Creates a preset UIScrollContainer constructor using the provided options and content.

static

scroll(preset: ui.PresetType<UIScrollContainer>, ...content: ViewClass[]): ViewClass<UIScrollContainer>

scroll(...content: ViewClass[]): ViewClass<UIScrollContainer>

Parameters

  • preset — The properties, bindings, and event handlers that will be preset on each instance of the resulting class (optional)
  • content — The content that will be added to each instance of the resulting class

Return value

A new class that extends UIScrollContainer

Related

  • uiAn object with functions for creating UI components and other resources.