JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2794
  • Score
    100M100P100Q101515F
  • License SEE LICENSE IN LICENSE

Directives to enable moving or resizing a div element.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mutable-div) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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.