Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

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

About

A Framer module for prototyping Mac and browser windows.

Resources

Stars

43 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages