NovaOS Development Documentation

Namespace

wm

Methods

static

close(id) → {void}

Close a window by ID

Parameters

  • id string

    The ID of the window to close.

Returns

  • void

Source

static

max(id) → {void}

Maximize a window by ID

Parameters

  • id string

    The ID of the window to maximize.

Returns

  • void

Source

static

mini(id) → {void}

Minimize/Unminimise a window by ID

Parameters

  • id string

    The ID of the window to minimize.

Returns

  • void

Source

static

notif(name, cont) → {void}

Send a notificaation

Parameters

  • name string

    The name of the notification.

  • cont string

    The content of the notification.

Returns

  • void

Source

static

wal(content, btn1, name, allowCloseopt) → {void}

Show an alert box

Parameters

  • content string

    The content of the alert box.

  • btn1 function

    The function to run when the button is clicked.

  • name string

    The name of the button.

  • allowClose boolean <optional>
    true

    Whether the alert box can be closed.

Returns

  • void

Source