mutable-div
Version:
Directives to enable moving or resizing a div element.
27 lines (17 loc) • 639 B
Markdown
is an Angular project which was created to enable changing the div element by moving it or resizing it.
Add the package to your project
```
npm install mutable-div --save
```
1. Import the 'MutableDivModule' in app module
2. Add the directive draggable to the div
3. Add rotation inputs if the div is rotated 0 (default), 90, 180, 270
1. Import the 'MutableDivModule' in app module
2. Add the directive resize to the div element
3. Add rotation inputs if the div is rotated 0 (default), 90, 180, 270
Example of these can be found on the github repo.
This