Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 615 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 615 Bytes

htmlgizmo.js

htmlgizmo.js is new lightweight JavaScript library to make elements on your page resizable, movable and rotatable.

Installation

  1. Copy code of src/htmlgizmo.min.js
  2. Create file htmlgizmo.min.js in your project dist folder
  3. Write <script src="dist/htmlgizmo.min.js"></script> in your .html page

How to use

To simply select element on your page and make it resizable:

<div id="resizable"></div>

<script src="dist/htmlgizmo.min.js"></script>
<script>
    htmlgizmo.select('#resizable','resize');
</script>