@custouch/jssdk
    Preparing search index...

    Type Alias DocumentConfig

    type DocumentConfig = {
        config?: {
            accessType?: DocumentAccess;
            maxPage?: number;
            pageTitle: string;
            showDownload?: boolean;
            showMail?: boolean;
            showShare?: boolean;
            type: "book" | "fullPage";
            wmOptions?: Partial<
                {
                    content: string;
                    enabled: boolean;
                    font: {
                        color: string;
                        lineHeight?: number;
                        size: number;
                        style: string;
                        weight: string;
                    };
                    img: { placement: "tl"
                    | "tr"
                    | "center"
                    | "bl"
                    | "br"; width: number };
                    multi: boolean;
                    opacity: number;
                    rotate: number;
                    type?: "img" | "text";
                },
            >;
        };
        documentConfigDto?: {
            detail: {
                accessType: DocumentAccess;
                actions: ButtonActions;
                buttonIcons: {
                    height: number;
                    position: {
                        x: { key: string; value: number };
                        y: { key: string; value: number };
                    };
                    spacing: number;
                    toggleFalseIcon: string;
                    toggleTrueIcon: string;
                    width: number;
                };
                maxPage: number;
                type: "vertical"
                | "horizontal";
            };
            isByDefault: boolean;
        };
        downloadUrl: string;
        hashId: string;
        name: string;
        pdfInfo?: {
            at: string;
            pages: string[];
            pageSize: number;
            status: number;
            totalSize: string;
        };
        pdfShare?: wx.ShareToUserConfig;
        source: string;
    }
    Index

    Properties

    config?: {
        accessType?: DocumentAccess;
        maxPage?: number;
        pageTitle: string;
        showDownload?: boolean;
        showMail?: boolean;
        showShare?: boolean;
        type: "book" | "fullPage";
        wmOptions?: Partial<
            {
                content: string;
                enabled: boolean;
                font: {
                    color: string;
                    lineHeight?: number;
                    size: number;
                    style: string;
                    weight: string;
                };
                img: { placement: "tl"
                | "tr"
                | "center"
                | "bl"
                | "br"; width: number };
                multi: boolean;
                opacity: number;
                rotate: number;
                type?: "img" | "text";
            },
        >;
    }
    documentConfigDto?: {
        detail: {
            accessType: DocumentAccess;
            actions: ButtonActions;
            buttonIcons: {
                height: number;
                position: {
                    x: { key: string; value: number };
                    y: { key: string; value: number };
                };
                spacing: number;
                toggleFalseIcon: string;
                toggleTrueIcon: string;
                width: number;
            };
            maxPage: number;
            type: "vertical"
            | "horizontal";
        };
        isByDefault: boolean;
    }
    downloadUrl: string
    hashId: string
    name: string
    pdfInfo?: {
        at: string;
        pages: string[];
        pageSize: number;
        status: number;
        totalSize: string;
    }
    pdfShare?: wx.ShareToUserConfig
    source: string