@twip/web
    Preparing search index...

    Interface DataParts

    The document's custom XML data parts. Writing and removing them is done with commands.

    interface DataParts {
        get(
            options: { itemId?: string; namespace?: string },
        ): Promise<{ itemId: string; namespace: string | null; xml: string }[]>;
        list(): Promise<{ itemId: string; namespace: string | null }[]>;
    }
    Index
    • The data parts with a namespace or an item id.

      Parameters

      • options: { itemId?: string; namespace?: string }

      Returns Promise<{ itemId: string; namespace: string | null; xml: string }[]>