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

    Interface InlinePluginOptions

    Options for inline plugin initialization

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

    Properties

    src: string

    URL of the plugin to load

    container: HTMLElement

    Container element where the plugin iframe will be appended

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

    Optional callback invoked before initializing the plugin iframe

    timeout?: number

    Optional timeout in milliseconds for plugin initialization