Skip to content

UIDescriptionList

jay19240 edited this page Dec 11, 2024 · 2 revisions

UIDescriptionList

A UI widget for displaying a list of items with labels and values.

  • inherit from: UIWidget

Constructors

  • new UIDescriptionList(): UIDescriptionList

Methods

  • addItem(id: string, label: string, value: string): void
    • id: The unique identifier of the item.
    • label: The label or name.
    • value: The value.
  • clear(): void
  • getItemValue(id: string): string
    • id: The unique identifier of the item.
  • isItemVisible(id: string): boolean
    • id: The unique identifier of the item.
  • removeItem(id: string): void
    • id: The unique identifier of the item.
  • setItem(id: string, value: string): void
    • id: The unique identifier of the item.
    • value: The value.
  • setItemVisible(id: string, visible: boolean): void
    • id: The unique identifier of the item.
    • visible: Determines whether the item should be visible or hidden.
Clone this wiki locally