@microsoft/fast-foundation > Tabs

Tabs class

A Tabs Custom HTML Element. Implements the ARIA tablist.

start - Content which can be provided before the tablist element

end - Content which can be provided after the tablist element

tab - The slot for tabs

tabpanel - The slot for tabpanels

tablist - The element wrapping for the tabs

tab - The tab slot

activeIndicator - The visual indicator

tabpanel - The tabpanel slot

change - Fires a custom 'change' event when a tab is clicked or during keyboard navigation

Signature:

export declare class Tabs extends FoundationElement 

Properties

Property Modifiers Type Description
activeid string The id of the active tab
activeindicator boolean Whether or not to show the active indicator
activetab HTMLElement A reference to the active tab
orientation TabsOrientation The orientation

Methods

Method Modifiers Description
adjust(adjustment) The adjust method for FASTTabs