Class TabContainer

Prevents a DOM sub-tree from receiving tab navigations and focus.

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(element: HTMLElement, options?: any): TabContainer

Creates a new TabContainer.

constructor

Parameters

  • element: HTMLElement

    The DOM element that hosts the TabContainer control.

  • options?: any optional

    An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties.

Returns

TabContainer

Properties

public childFocus: HTMLElement

Gets or sets the child DOM element that receives tab focus.

public tabIndex: number

Gets or sets the tab index of this container.

Methods

public dispose()

Releases resources held by this TabContainer. Call this method when the TabContainer is no longer needed. After calling this method, the TabContainer becomes unusable.