Interface WindowEventListener

Object used to handle windows opening and closing events.

interface WindowEventListener {
    onClose?: ((window: Window) => void);
    onOpen?: ((window: Window) => void);
}

Properties

Properties

onClose?: ((window: Window) => void)

Called when the window is closed.

Type declaration

    • (window): void
    • Parameters

      Returns void

onOpen?: ((window: Window) => void)

Called when the window is opened.

Type declaration

    • (window): void
    • Parameters

      Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.