Class Renderer

The default implementation of IRenderer.

Notes

Subclasses are free to reimplement rendering methods as needed.

Hierarchy

  • Renderer

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 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.

Generated using TypeDoc