@bokeh/bokehjs
Version:
Interactive, novel data visualization
37 lines • 1.31 kB
TypeScript
import { DOMElement, DOMElementView } from "./dom_element";
import { UIElement } from "../ui/ui_element";
import type { ViewStorage, View } from "../../core/build_views";
import type * as p from "../../core/properties";
declare const HTMLRef: import("../../core/kinds").Kinds.Or<[DOMElement, UIElement]>;
type HTMLRef = typeof HTMLRef["__type__"];
declare const HTMLMarkup: import("../../core/kinds").Kinds.Str;
type RawHTML = typeof HTMLMarkup["__type__"];
export declare class HTMLView extends DOMElementView {
model: HTML;
el: HTMLElement;
protected readonly _refs: ViewStorage<HTMLRef>;
get refs(): HTMLRef[];
protected _update_refs(): Promise<void>;
children_views(): View[];
lazy_initialize(): Promise<void>;
remove(): void;
connect_signals(): void;
render(): void;
parse_html(html: string): Node[];
}
export declare namespace HTML {
type Attrs = p.AttrsOf<Props>;
type Props = DOMElement.Props & {
html: p.Property<Node | RawHTML | (RawHTML | HTMLRef)[]>;
refs: p.Property<HTMLRef[]>;
};
}
export interface HTML extends HTML.Attrs {
}
export declare class HTML extends DOMElement {
properties: HTML.Props;
__view_type__: HTMLView;
constructor(attrs?: Partial<HTML.Attrs>);
}
export {};
//# sourceMappingURL=html.d.ts.map