Docs (4.0.0)
ui method

form

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

static

form(preset: ui.PresetType<UIForm>, ...content: ViewClass[]): ViewClass<UIForm>

form(...content: ViewClass[]): ViewClass<UIForm>

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 UIForm

Related

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