Skip to content

docbone/rotatable-resizer

Repository files navigation

Rotatable Resizer

A rotatable resizer component for Vue.js.

Install

You can install the library in two ways:

npm i rotatable-resizer --save
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/rotatable-resizer"></script>

Usage

You can view Online Demo here.

<rotatable-resizer :width="100" :height="100" :left="0" :top="0" rotatable>
</rotatable-resizer>

Develop

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

License

MIT