job-autofill
    Preparing search index...

    The Window interface represents a window containing a DOM document; the document property points to the DOM document loaded in that window.

    MDN Reference

    interface Window {
        ot: {
            toast: (
                message: string,
                title?: string,
                options?: {
                    duration?: number;
                    placement?:
                        | "top-right"
                        | "top-left"
                        | "top-center"
                        | "bottom-right"
                        | "bottom-left"
                        | "bottom-center";
                    variant?: "success"
                    | "danger"
                    | "warning";
                },
            ) => void;
            toastEl: (
                el: HTMLElement | HTMLTemplateElement,
                options?: { duration?: number; placement?: string },
            ) => void;
        };
        [index: number]: Window;
    }

    Hierarchy

    • EventTarget
    • AnimationFrameProvider
    • GlobalEventHandlers
    • WindowEventHandlers
    • WindowLocalStorage
    • WindowOrWorkerGlobalScope
    • WindowSessionStorage
      • Window

    Indexable

    Index

    Properties

    Properties

    ot: {
        toast: (
            message: string,
            title?: string,
            options?: {
                duration?: number;
                placement?:
                    | "top-right"
                    | "top-left"
                    | "top-center"
                    | "bottom-right"
                    | "bottom-left"
                    | "bottom-center";
                variant?: "success"
                | "danger"
                | "warning";
            },
        ) => void;
        toastEl: (
            el: HTMLElement | HTMLTemplateElement,
            options?: { duration?: number; placement?: string },
        ) => void;
    }