Allows for quick and easy creation of Mac and Browser windows. Ideal for making responsive designs.
Note: be sure not to use window and document as variable names. These names are reserved and will break your prototype.
resizable<bool>minWidth<number>minHeight<number>toolbarHeight<number>topConstraint<number>
{WindowComponent} = require "WindowComponent"
docWindow = new WindowComponentonResize(window, content <layer>)
docWindow.onResize (window, content) ->
# update layout