Class: Window

JSWindows#Window TInst(TInst, title, initBody)

new Window(TInst, title, initBody)

A window that you can open. Note (important): This uses Typings.js, so you MUST pass the type parameters at runtime. The syntax is: new (JSWindows.Window(TInst))(title, initBody)
Parameters:
Name Type Description
TInst WindowInstantiator The type of WindowInstantiator to use (a type that implements WindowInstantiator)
title string The title of the window.
initBody string The initial content of the window.
Properties:
Name Type Description
title string
body string
document Document The HTML document in the window.
Source:

Methods

close()

Close the window.
Source:

open()

Open the window.
Source: