kernl API
    Preparing search index...

    Interface FrameLike

    The structural subset of an iframe element mountApplet needs. Lets the core stay DOM-free in tests.

    interface FrameLike {
        contentWindow: Window | null;
        sandbox?: unknown;
        srcdoc: string;
        addEventListener(type: "load", listener: (event: Event) => void): void;
        remove(): void;
        removeEventListener(type: "load", listener: (event: Event) => void): void;
        setAttribute(name: string, value: string): void;
    }
    Index
    contentWindow: Window | null
    sandbox?: unknown

    Not read: the mount replaces the sandbox attribute through setAttribute, whatever tokens it held.

    srcdoc: string
    • Parameters

      • type: "load"
      • listener: (event: Event) => void

      Returns void

    • Returns void

    • Parameters

      • type: "load"
      • listener: (event: Event) => void

      Returns void

    • Parameters

      • name: string
      • value: string

      Returns void