Options
All
  • Public
  • Public/Protected
  • All
Menu

The default implementation of IRenderer. The default implementation of IRenderer.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _titleID

_titleID: number = 0

Private _titleKeys

_titleKeys: WeakMap<Title<Widget>, string> = new WeakMap<Title<Widget>, string>()

Private _uuid

_uuid: number

titleClassName

titleClassName: "lm-AccordionPanel-title" = "lm-AccordionPanel-title"

A selector which matches any title node in the accordion.

Static Private _nInstance

_nInstance: number = 0

Methods

createCollapseIcon

  • Render the collapse indicator for a section title.

    Parameters

    • data: Title<Widget>

      The data to use for rendering the section title.

    Returns HTMLElement

    A element representing the collapse indicator.

createHandle

  • createHandle(): HTMLDivElement

createSectionTitle

  • Render the element for a section title.

    Parameters

    • data: Title<Widget>

      The data to use for rendering the section title.

    Returns HTMLElement

    A element representing the section title.

createTitleKey

  • Create a unique render key for the title.

    Parameters

    Returns string

    The unique render key for the title.

    Notes

    This method caches the key against the section title the first time the key is generated.

Generated using TypeDoc