please some one explain how to use
plugins.crop.promise(’/path/to/image’, options)
.then(function success (newPath) {
})
.catch(function fail (err) {
})
and how to import this plugin in .ts file to use the methods of this plugin
please some one explain how to use
plugins.crop.promise(’/path/to/image’, options)
.then(function success (newPath) {
})
.catch(function fail (err) {
})
and how to import this plugin in .ts file to use the methods of this plugin