mutable-div
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

MutableDiv

This is an Angular project which was created to enable changing the div element by moving it or resizing it.

Getting Started

Add the package to your project

npm install mutable-div --save

How to use

draggable

  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

resizable

  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.

Package Sidebar

Install

npm i mutable-div

Weekly Downloads

615

Version

2.0.0

License

SEE LICENSE IN LICENSE

Unpacked Size

108 kB

Total Files

23

Last publish

Collaborators

  • velimd