CustomListExpressionRenderer class

Extends

ListExpressionRenderer

Index

Constructors

Public Properties

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new CustomListExpressionRenderer(panel: QueryPanel,expression: Expression,valueEditor: ValueEditor,slot?: HTMLDivElement): CustomListExpressionRenderer

Parameters:


Public Properties


loaderElement

● loaderElement: HTMLElement | null


loading

● loading: boolean = false


onClickTemp

● onClickTemp: any = null


Protected Properties


displayedTextElement

● displayedTextElement: HTMLElement


element

● element: HTMLDivElement


expression

● expression: Expression


● menu: PopupMenu | null


● menuItemsList: MenuItem[] = []


panel

● panel: QueryPanel


showWhenReady

● showWhenReady: boolean = false


valueEditor

● valueEditor: ValueEditor


Public Methods


refresh

▸ refresh(): void

Returns void


render

▸ render(appeared?: boolean): HTMLDivElement

Parameters:

  • appeared: boolean, Default value = false

Returns HTMLDivElement


Protected Methods


adjustNewValue

▸ adjustNewValue(newValue: string | string[]): string

Parameters:

  • newValue: string | string[]

Returns string


appear

▸ appear(): void

Returns void


disappear

▸ disappear(): void

Returns void


fillMenuItemsList

▸ fillMenuItemsList(onComplete: any): void

Parameters:

  • onComplete: any

Returns void


getClassesToAdd

▸ getClassesToAdd(): string

Returns string


getContext

▸ getContext(): EqContext

Returns EqContext


getDisplayedElementText

▸ getDisplayedElementText(): string

Returns string


getEmptyText

▸ getEmptyText(): string

Returns string


getListName

▸ getListName(): string

Returns string


getValue

▸ getValue(): string

Returns string


getValueText

▸ getValueText(value: string | string[]): string

Parameters:

  • value: string | string[]

Returns string


getValuesAsArray

▸ getValuesAsArray(): string[]

Returns string[]


hideLoader

▸ hideLoader(): void

Returns void


isEditable

▸ isEditable(): boolean

Returns boolean


isEmptyValue

▸ isEmptyValue(): boolean

Returns boolean


renderDisplayedText

▸ renderDisplayedText(): HTMLElement

Returns HTMLElement


renderEditor

▸ renderEditor(): void

Returns void


renderMenuBlock

▸ renderMenuBlock(): void

Returns void


setValue

▸ setValue(value: string | string[],silent?: boolean): boolean

Parameters:

  • value: string | string[]
  • silent: boolean, Default value = false

Returns boolean


showLoader

▸ showLoader(): void

Returns void


showValidationError

▸ showValidationError(message: string,target?: EventTarget): void

Parameters:

  • message: string
  • target: EventTarget, Optional

Returns void


takeDefaultValue

▸ takeDefaultValue(): void

Returns void


validateInput

▸ validateInput(value: string): ValidationResult

Parameters:

  • value: string

Returns ValidationResult