BaseElementRenderer class

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new BaseElementRenderer(slot?: HTMLDivElement): BaseElementRenderer

Parameters:

  • slot: HTMLDivElement, Optional

Protected Properties


displayedTextElement

● displayedTextElement: HTMLElement


element

● element: HTMLDivElement


Public Methods


refresh

▸ refresh(): void

Returns void


render

▸ render(appeared?: boolean): HTMLDivElement

Parameters:

  • appeared: boolean, Default value = false

Returns HTMLDivElement


Protected Methods


appear

▸ appear(): void

Returns void


disappear

▸ disappear(): void

Returns void


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getDisplayedElementText

▸ getDisplayedElementText(): string

Returns string


getEmptyText

▸ getEmptyText(): string

Returns string


isEditable

▸ isEditable(): boolean

Returns boolean


renderDisplayedText

▸ renderDisplayedText(): HTMLElement

Returns HTMLElement


renderEditor

▸ renderEditor(): void

Returns void