Skip to content

Maxsteitle/framer-make-resizable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

framer-Make Resizable

Make any layer resizable with a minimum width and height. Also allows the layer to become draggable, which is great to replicate desktop window surfaces.

Install with Framer Modules

Install with Framer Modules

Setup

makeResizable = require "makeResizable"


# makeResizable(layer you want resizable, minWidth, minHeight, headerHeight)
# minWidth(num): Cannot resize smaller than this number
# minHeight(num): Cannot resize smaller than this number
# headerHeight(num): (Optional) Will allow this layer to be draggable if clicked within this area

makeResizable(layer, 400, 200, 80)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages