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

    The default implementation of IRenderer.

    Subclasses are free to reimplement rendering methods as needed.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    closeIconSelector: ".lm-TabBar-tabCloseIcon"

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

    Methods

    • Create the class name for the tab icon.

      Parameters

      Returns string

      The full class name for the tab icon.

    • Create the ARIA attributes for a tab.

      Parameters

      Returns ElementARIAAttrs | ElementBaseAttrs

      The ARIA attributes for the tab.

    • Create the class name for the tab.

      Parameters

      Returns string

      The full class name for the tab.

    • Create the dataset for a tab.

      Parameters

      Returns ElementDataset

      The dataset for the tab.

    • Create a unique render key for the tab.

      Parameters

      Returns string

      The unique render key for the tab.

      This method caches the key against the tab title the first time the key is generated. This enables efficient rendering of moved tabs and avoids subtle hover style artifacts.

    • Create the inline style object for a tab.

      Parameters

      Returns ElementInlineStyle

      The inline style data for the tab.

    • Render the close icon element for a tab.

      Parameters

      Returns VirtualElement

      A virtual element representing the tab close icon.

    • Render the icon element for a tab.

      Parameters

      Returns VirtualElement

      A virtual element representing the tab icon.

    • Render the label element for a tab.

      Parameters

      Returns VirtualElement

      A virtual element representing the tab label.

    • Render the virtual element for a tab.

      Parameters

      Returns VirtualElement

      A virtual element representing the tab.