@coveo/headless
    Preparing search index...

    Interface Tab

    The Tab headless controller offers a high-level interface for designing a common tab UI controller.

    Example: tab.fn.tsx

    interface Tab {
        state: TabState;
        select(): void;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    Properties

    state: TabState

    The state of the Tab controller.