Class UiConfigMethods

Constructors

Properties

_renderer: UiConfigRendererBase<any>

Methods

  • Parameters

    • config: UiObjectConfig<any, string, any>
    • Optionaloptions: {
          args: any[];
      }
      • args: any[]

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    • config: UiObjectConfig<T, string, any>
    • props: {
          config?: UiObjectConfig<any, string, any>;
          configPath?: UiObjectConfig<any, string, any>[];
          last?: boolean;
          lastValue?: any;
          value?: any;
      }

      only last needs to be set. check the docs for setValue

      • Optionalconfig?: UiObjectConfig<any, string, any>
      • OptionalconfigPath?: UiObjectConfig<any, string, any>[]
      • Optionallast?: boolean
      • OptionallastValue?: any
      • Optionalvalue?: any

    Returns Promise<void>

  • Parameters

    • config: UiObjectConfig<any, string, any>
    • props: {
          config?: UiObjectConfig<any, string, any>;
          configPath?: UiObjectConfig<any, string, any>[];
          last?: boolean;
          lastValue?: any;
          value?: any;
      }
      • Optionalconfig?: UiObjectConfig<any, string, any>
      • OptionalconfigPath?: UiObjectConfig<any, string, any>[]
      • Optionallast?: boolean
      • OptionallastValue?: any
      • Optionalvalue?: any
    • Rest...args: any[]

    Returns void

  • Type Parameters

    • T

    Parameters

    • config: UiObjectConfig<T, string, any>
    • value: T
    • props: {
          config?: UiObjectConfig<any, string, any>;
          configPath?: UiObjectConfig<any, string, any>[];
          last?: boolean;
          lastValue?: T;
      }

      only the prop last need to be set, rest are optional. lastValue can be set if known. config, configPath are for parentOnChange, no need to set that.

      • Optionalconfig?: UiObjectConfig<any, string, any>
      • OptionalconfigPath?: UiObjectConfig<any, string, any>[]
      • Optionallast?: boolean
      • OptionallastValue?: T
    • OptionalforceOnChange: boolean

    Returns Promise<boolean>