Interface ComponentCreationResult<T>

interface ComponentCreationResult<T> {
    component: Record<string, any>;
    destroy: (() => void);
    element: HTMLElement;
    setComponentInputValue?: ((name: keyof T, value: unknown) => void);
}

Type Parameters

  • T

Properties

component: Record<string, any>
destroy: (() => void)
element: HTMLElement
setComponentInputValue?: ((name: keyof T, value: unknown) => void)