Tab layout interface

Hierarchy

Properties

Classes: string[]

Additional CSS classes to add to the control.

CurrentTab: string

The currently selected tab by the header name.

Enabled: boolean

Enabled state of the UI element. When the type supports this, the UI element will be disabled when set to false.

Header: string[]

The list of available tabs

Id: string

The id of the UI element.

Items: MEUIBase[]

The UI elements which are children of this UI element.

Name: string

Name of the UI element. For form fields that would be the name otherwise used for reference only.

OnTabSelected: ((self) => void)

Type declaration

    • (self): void
    • Event is triggered when the tab changes.

      Parameters

      Returns void

ParentClasses: string[]

Additional CSS classes to add to the parent control when supported.

StandardClasses: string[]

The standard classes of the control. Modify this property only if you know what you are doing.

Tags: string[]

Tags for the UI element. Used for reference only.

TextDirection: TextFieldTextDirection

The text direction of the UI element. Defaults to Inherit, meaning it will use the editor default.

ToolTip?: string

Tooltip text of the UI element.

Type: "TabLayout"

The type of the UI element. Always "TabLayout".

Visible: boolean

Visibility flag of the UI element. When not visible it will be hidden from the UI.

Methods

  • Adds a new tab to the tab layout.

    Parameters

    • header: string

      The header of the new tab

    • item: MEUIBase

      The base UI item (usually another layout item).

    Returns void

  • Select a tab by index.

    Parameters

    • index: number

      The index of the tab to select.

    Returns void

Generated using TypeDoc