Defines the interface for OutSystemsUI Patterns

Export

Implements

Hierarchy-Diagram

UML class diagram of Tabs
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for an interface in the UML class diagram interface
icon for a public property in the UML class diagram public property
icon for a protected property in the UML class diagram protected property
icon for a private property in the UML class diagram private property
icon for a public method in the UML class diagram public method
icon for a protected method in the UML class diagram protected method
icon for a private method in the UML class diagram private method
italic abstract property/method

Hierarchy

Implements

Methods

  • Private

    Method to change the active content item

    Memberof

    Tabs

    Parameters

    • newTabIndex: number
    • triggeredByObserver: boolean

    Returns void

  • Private

    Method to determine the next target index on changeTab method

    Returns

    {number}

    Memberof

    Tabs

    Parameters

    • tabIndex: number

    Returns number

  • Private

    Method that handles the Keypress Event, for tabs navigation using arrows

    Returns

    {void}

    Memberof

    Tabs

    Parameters

    • e: KeyboardEvent

    Returns void

  • Private

    Method to make neccessary preparations for header and content items, that can't be done on their scope

    Memberof

    Tabs

    Returns void

  • Private

    Method that it's called whenever a new TabsContentItem is destroyed

    Memberof

    Tabs

    Parameters

    • childContentId: string

    Returns void

  • Private

    Method that it's called whenever a new TabsHeaderItem is destroyed

    Memberof

    Tabs

    Parameters

    • childHeaderId: string

    Returns void

  • Private

    Method to set if the Tabs AutoHeight

    Memberof

    Tabs

    Parameters

    • hasAutoHeight: boolean

    Returns void

  • Private

    Method to set an IntersectionObserver when drag gestures are enable, to detect the activeItem on drag

    Memberof

    Tabs

    Returns void

  • Private

    Method to set the CSS variable that holds the number of header items

    Memberof

    Tabs

    Parameters

    • itemsLength: number

    Returns void

  • Private

    Toggle TableHeaderItem disbaled status

    Memberof

    Tabs

    Parameters

    • childHeaderId: string
    • isDisabled: boolean

    Returns void

  • Private

    Method to change between tabs

    Memberof

    Tabs

    Parameters

    • childHeaderId: string

    Returns void

  • Private

    Method that triggers the OnTabsChange event

    Memberof

    Tabs

    Parameters

    • activeTab: number

    Returns void

  • Private

    Method that handles the connection between HeaderItems and ContentItem, related to data-tab and aria-controls/labbeledby

    Memberof

    Tabs

    Parameters

    • Optional updateDataTab: boolean = true

    Returns void

  • Method to change between tabs

    Returns

    {void}

    Memberof

    OSFramework.Patterns.Tabs.Tabs

    Parameters

    • Optional tabIndex: number = ...
    • Optional tabsHeaderItem: ITabsHeaderItem
    • Optional triggerEvent: boolean = false
    • Optional triggeredByObserver: boolean = false

    Returns void

Properties

isProviderBased: boolean = false
_activeTabContentElement: ITabsContentItem
_activeTabHeaderElement: ITabsHeaderItem
_currentOrientation: Orientation
_currentVerticalPositon: OSFramework.OSUI.GlobalEnum.Direction
_dragObserver: IntersectionObserver
_eventOnHeaderKeypress: Generic
_eventOnResize: Generic
_hasDragGestures: boolean
_hasSingleContent: boolean
_headerItemsLength: number
_requestAnimationFrameOnIndicatorResize: number
_tabsContentElement: HTMLElement
_tabsHeaderElement: HTMLElement
_tabsHeadersEnabled: ITabsHeaderItem[]
_tabsIndicatorElement: HTMLElement

Accessors

  • get _enableAccessibility(): boolean
  • Protected

    Getter that allows to obtain the accessibility is enabled.

    Memberof

    OSFramework.Patterns.AbstractPattern

    Returns boolean

Constructors