MAIDR JavaScript API
    Preparing search index...

    Interface OfficeHost

    The Office namespace object Office.js defines, of which only the requirement-set check and the readiness promise are used.

    interface OfficeHost {
        context?: {
            requirements?: {
                isSetSupported: (name: string, minVersion?: string) => boolean;
            };
        };
        onReady?: () => Promise<unknown>;
    }
    Index

    Properties

    Properties

    context?: {
        requirements?: {
            isSetSupported: (name: string, minVersion?: string) => boolean;
        };
    }

    Undefined until Office.js has initialized.

    onReady?: () => Promise<unknown>

    Resolves once Office.js has initialized; immediately if it has.