Skip to main content

close

static close = (e, ...args)

Window.close is used to close windows. If Object is not a window, it will throw an Error.

Example:

Window.close(e, win1, win2, ...); // e - event (can be undefined)