BaseElementRenderer class

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new BaseElementRenderer(slot?: HTMLDivElement): BaseElementRenderer

Parameters:

  • slot: HTMLDivElement, Optional

Protected Properties


element

● element: HTMLDivElement


labelElement

● labelElement: HTMLElement


Public Methods


refresh

▸ refresh(): void

Returns void


render

▸ render(isEditMode?: boolean): HTMLDivElement

Parameters:

  • isEditMode: boolean, Default value = false

Returns HTMLDivElement


Protected Methods


closeEditor

▸ closeEditor(): void

Returns void


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getEmptyText

▸ getEmptyText(): string

Returns string


getLabelText

▸ getLabelText(): string

Returns string


isEditable

▸ isEditable(): boolean

Returns boolean


renderEditor

▸ renderEditor(): void

Returns void


renderLabelElement

▸ renderLabelElement(): HTMLElement

Returns HTMLElement


showEditor

▸ showEditor(): void

Returns void