Theia API Documentation v1.65.0
    Preparing search index...

    Interface IRenderer<T>

    A renderer for use with a tab bar.

    interface IRenderer<T> {
        closeIconSelector: string;
        renderTab(data: TabBar.IRenderData<T>): VirtualElement;
    }

    Type Parameters

    • T

    Implemented by

    Index

    Properties

    Methods

    Properties

    closeIconSelector: string

    A selector which matches the close icon node in a tab.

    Methods

    • Render the virtual element for a tab.

      Parameters

      Returns VirtualElement

      A virtual element representing the tab.