The default implementation of IRenderer.

Notes

Subclasses are free to reimplement rendering methods as needed.

Implements

Constructors

Properties

_tabID: number = 0
_tabKeys: WeakMap<Title<any>, string> = ...
_uuid: number
closeIconSelector: ".lm-TabBar-tabCloseIcon" = '.lm-TabBar-tabCloseIcon'

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

_nInstance: number = 0

Methods

  • Create the class name for the tab icon.

    Parameters

    Returns string

    The full class name for the tab icon.

  • Create the class name for the tab.

    Parameters

    Returns string

    The full class name for the tab.

  • Create a unique render key for the tab.

    Parameters

    Returns string

    The unique render key for the tab.

    Notes

    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.