Mat-thieu / Resizor-JS

A resize script written in vanilla Javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resizor

Resize elements on all corners and edges.

Make an element resizable

makeResizable('resize', {
	triggerMargin : 20
});

Additions to future updates

  • Give the option to set a maximum and/or minimum width and height
  • Restrict some types resizing (e.g. only allow left and bottom)

Keep in mind that resizing in all directions allows a user to move an element across the page.

About

A resize script written in vanilla Javascript


Languages

Language:JavaScript 94.3%Language:HTML 5.7%