/WindowComponent

A Framer module for prototyping Mac and browser windows.

Primary LanguageCoffeeScript

WindowComponent

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.

Example

Properties

  • resizable <bool>
  • minWidth <number>
  • minHeight <number>
  • toolbarHeight <number>
  • topConstraint <number>
{WindowComponent} = require "WindowComponent"

docWindow = new WindowComponent

Events

  • onResize (window, content <layer>)
docWindow.onResize (window, content) ->
	# update layout