DropDownRenderer class

Extends

BaseElementRenderer

Index

Constructors

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new DropDownRenderer(slot?: HTMLDivElement): DropDownRenderer

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


getMenu

▸ getMenu(): PopupMenu

Returns PopupMenu


isEditable

▸ isEditable(): boolean

Returns boolean


itemSelected

▸ itemSelected(id: string): void

Parameters:

  • id: string

Returns void


renderEditor

▸ renderEditor(): void

Returns void


renderLabelElement

▸ renderLabelElement(): HTMLElement

Returns HTMLElement


showEditor

▸ showEditor(): void

Returns void