@pistonite/workex
    Preparing search index...

    Type Alias WindowLike

    Things that looks like a Window

    type WindowLike = {
        addEventListener: (
            type: string,
            listener: (event: any) => any,
            options?: { signal?: any },
        ) => any;
        close?: () => void;
        closed?: boolean;
        location?: { origin?: string };
        open: (url: string, target: string, features: string) => WindowLike | null;
        opener?: WindowLike | null;
        parent?: WindowLike | null;
        postMessage: (message: any, targetOrigin: string) => any;
    }
    Index

    Properties

    addEventListener: (
        type: string,
        listener: (event: any) => any,
        options?: { signal?: any },
    ) => any
    close?: () => void
    closed?: boolean
    location?: { origin?: string }
    open: (url: string, target: string, features: string) => WindowLike | null
    opener?: WindowLike | null
    parent?: WindowLike | null
    postMessage: (message: any, targetOrigin: string) => any