Docs (4.0.0)
ui method

conditional

Creates a preset UIConditionalView constructor using the provided options.

static

conditional(preset: View.ViewPreset<UIConditionalView>, content: ViewClass): ViewClass<UIConditionalView>

Parameters

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

Return value

A new class that extends UIConditionalView

Related

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