Resize any DOM element with just one line of code.
- Add
resizable.css
andresizable.js
to your project - Create a DOM element
- Initialize a new Resizable instance
- Enjoy!
<div id="example"></div>
const element = document.getElementById("example");
new Resizable(element);
Please feel free to open an issue or a pull request.