Constructors

  • Creates a window session.

    Parameters

    • process: default
    • wm: any

      The current window manager session.

    • config: FlowWindowConfig

      The window's pre-set config.

    • onClose: (() => void) = ...
        • (): void
        • Returns void

    Returns default

Properties

content: HTMLElement
element: HTMLElement
header: HTMLElement
height: number
isMaximized: boolean = false
isMinimized: boolean = false
maximized: boolean
minimized: boolean
onClose: (() => void)

Type declaration

    • (): void
    • Returns void

prevHeight: string
prevLeft: string
prevTop: string
prevWidth: string
process: default
realContent: HTMLElement
width: number
wm: any

Methods

  • Closes the window.

    Returns void

  • Focuses the window.

    Returns void

  • Sets the title of the window.

    Parameters

    • title: string

      The desired window title.

    Returns void

  • Toggles the window's maximization.

    Returns boolean

    The window's current maximization state.

  • Toggles the window's minimization.

    Returns boolean

    The window's current minimization state.

Generated using TypeDoc