This is an Angular project which was created to enable changing the div element by moving it or resizing it.
You will require these in order to run it locally:
Angular cli
To run it locally:
npm install
ng serve
To run it with your project
npm install mutable-div --save
- Import the 'MutableDivModule' in app module
- Add the directive draggable to the div
- Add rotation inputs if the div is rotated 0 (default), 90, 180, 270
- Import the 'MutableDivModule' in app module
- Add the directive resize to the div element
- Add rotation inputs if the div is rotated 0 (default), 90, 180, 270