UNPKG

sparnatural

Version:

Visual client-side SPARQL query builder and knowledge graph exploration tool

20 lines (19 loc) 701 B
import BaseClassFactory from "./baseClassFactory/BaseClassFactory"; export interface IRenderable { render: () => this; } export declare class HTMLComponent implements IRenderable { #private; baseCssClass: string; static BaseClassFactory: BaseClassFactory; parentComponent: HTMLComponent; widgetHtml: JQuery<HTMLElement>; html: JQuery<HTMLElement>; htmlParent: JQuery<HTMLElement>; constructor(baseCssClass: string, ParentComponent: HTMLComponent, widgetHtml: JQuery<HTMLElement>); render(): this; /** * @returns moves up the component hierarchy and returns the one that does not have a parent component */ getRootComponent(): HTMLComponent; }