@yesstudio/nuxt-composables
    Preparing search index...

    Interface RendererOptions<HostNode, HostElement>

    interface RendererOptions<
        HostNode = RendererNode,
        HostElement = RendererElement,
    > {
        cloneNode?(node: HostNode): HostNode;
        createComment(text: string): HostNode;
        createElement(
            type: string,
            namespace?: ElementNamespace,
            isCustomizedBuiltIn?: string,
            vnodeProps?: VNodeProps & { [key: string]: any } | null,
        ): HostElement;
        createText(text: string): HostNode;
        insert(el: HostNode, parent: HostElement, anchor?: HostNode | null): void;
        insertStaticContent?(
            content: string,
            parent: HostElement,
            anchor: HostNode | null,
            namespace: ElementNamespace,
            start?: HostNode | null,
            end?: HostNode | null,
        ): [HostNode, HostNode];
        nextSibling(node: HostNode): HostNode | null;
        parentNode(node: HostNode): HostElement | null;
        patchProp(
            el: HostElement,
            key: string,
            prevValue: any,
            nextValue: any,
            namespace?: ElementNamespace,
            parentComponent?: ComponentInternalInstance | null,
        ): void;
        querySelector?(selector: string): HostElement | null;
        remove(el: HostNode): void;
        setElementText(node: HostElement, text: string): void;
        setScopeId?(el: HostElement, id: string): void;
        setText(node: HostNode, text: string): void;
    }

    Type Parameters

    Index

    Methods

    • Parameters

      • text: string

      Returns HostNode

    • Parameters

      • type: string
      • Optionalnamespace: ElementNamespace
      • OptionalisCustomizedBuiltIn: string
      • OptionalvnodeProps: VNodeProps & { [key: string]: any } | null

      Returns HostElement

    • Parameters

      • text: string

      Returns HostNode

    • Parameters

      • el: HostElement
      • key: string
      • prevValue: any
      • nextValue: any
      • Optionalnamespace: ElementNamespace
      • OptionalparentComponent: ComponentInternalInstance | null

      Returns void

    • Parameters

      • selector: string

      Returns HostElement | null

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Parameters

      Returns void