@easyquery/ui
Version:
EasyQuery.JS Community UI widgets
29 lines (28 loc) • 820 B
TypeScript
import { Widget, EqContext } from '@easyquery/core';
/**
* The widget responsed for rendering the name of the current query.
*/
export declare class QueryNameWidget extends Widget {
private nameSlot;
private tooltipSlot;
private asteriskSlot;
private nameTemplate;
private queryEventCallbackId;
/**
* The default constructor.
* @param slot The HTML element where our widget should be placed.
*/
constructor(slot: HTMLElement);
init(context: EqContext, options: any): void;
protected get cssPrefix(): string;
getWidgetType(): string;
/**
* Refresh widget implementation
*/
protected refreshCore(): void;
private render;
private clear;
private attachQueryObserver;
private detachQueryObserver;
protected destroyCore(): void;
}