@salla.sa/twilight-components
Version:
Salla Web Component
13 lines (12 loc) • 360 B
TypeScript
export declare class SallaHook {
/** The unique name to identify the hook position. */
name: string;
host: HTMLElement;
/**
* Mounts a given HTML element into the hook position.
* @param element The element to inject.
*/
mount(element: HTMLElement): Promise<void>;
render(): any;
componentDidLoad(): Promise<void>;
}