Skip to content

EntitiesPanel class

The entities panel wiget, implemented without JQuery. NOT finished yet.

Widget


The default constructor. ⊕ new EntitiesPanel(slot: HTMLElement): EntitiesPanel

  • slot: HTMLElement - The html element.


● widgetType: string



● context: EqContext


● group: WidgetGroup


● slot: HTMLElement



● context: EqContext


● group: WidgetGroup


● slot: HTMLElement



Returns true if the widget belongs to one of the groups specified in the parameter

▸ belongsToGroup(groups?: WidgetGroup): boolean

Returns boolean


▸ destroy(): void

Returns void


Returns current context (the one this widget belongs to)

▸ getContext(): EqContext

Returns EqContext


Initialize widget.

▸ init(context: EqContext,options?: EntitiesPanelOptions): void

Returns void


This function is called on the end of some process this widget participates in. For example, some widgets should be updated on model loading or after the execution of the current query

▸ onProcessEnd(): void

Returns void


This function is called on the start of some process this widget participates in. For example, some widgets can show a spinner or a progress bar at the beginning of some long process (e.g. model loading).

▸ onProcessStart(): void

Returns void


Refreshes the widget’s content

▸ refresh(): void

Returns void



▸ destroyCore(): void

Returns void


▸ onProcessEndCore(): void

Returns void


▸ onProcessStartCore(): void

Returns void


Refresh widget implementation

▸ refreshCore(): void

Returns void