PostMessage RPC API Documentation - v0.2.2
    Preparing search index...

    Interface FullscreenPluginOptions

    Options for fullscreen plugin initialization

    interface FullscreenPluginOptions {
        id: string;
        src: string;
        parentElem?: HTMLElement;
        beforeInit?: (
            context: { container: HTMLElement; iframe: HTMLIFrameElement },
        ) => void;
        timeout?: number;
    }
    Index

    Properties

    id: string

    Unique identifier for the plugin container

    src: string

    URL of the plugin to load

    parentElem?: HTMLElement

    Parent element where the plugin container will be appended (defaults to document.body)

    beforeInit?: (
        context: { container: HTMLElement; iframe: HTMLIFrameElement },
    ) => void

    Optional callback invoked before initializing the plugin iframe

    timeout?: number

    Optional timeout in milliseconds for plugin initialization