kaios-types
    Preparing search index...

    Interface BrowserElementCommon

    Common methods for browser elements.

    Preference: "dom.mozBrowserFramesEnabled"

    browser or embed-widgets

    interface BrowserElementCommon {
        addNextPaintListener(
            listener: BrowserElementNextPaintEventCallback,
        ): void;
        getActive(): boolean;
        getVisible(): DOMRequest;
        removeNextPaintListener(
            listener: BrowserElementNextPaintEventCallback,
        ): void;
        setActive(active: boolean): void;
        setVisible(visible: boolean): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Gets the active state of the browser element.

      Returns boolean

      True if active, false otherwise.

      NS_ERROR_NOT_AVAILABLE.

    • Sets the active state of the browser element.

      Parameters

      • active: boolean

        Whether the element should be active.

      Returns void

      NS_ERROR_NOT_AVAILABLE.

    • Sets the visibility of the browser element.

      Parameters

      • visible: boolean

        Whether the element should be visible.

      Returns void

      NS_ERROR_NOT_AVAILABLE.