Skip to content

jonastreub/WindowComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published