1.2.6 • Published 5 years ago

canvas-tailor v1.2.6

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

API

// new an instance
let tailor = new Tailor(<element container>)

// get img from input element, return a Promise. you can use "then" get the moment when img was loaded
let promise = tailor.loadImg(<event.target.files[0]>)

// accept arguments "size" represent pixels of picture, and return a Promise.
tailor.cut(size)
1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago