A Framer module for prototyping Mac and browser windows.
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 WindowComponent
onResize
(window, content <layer>)docWindow.onResize (window, content) ->
# update layout