1.0.2 • Published 3 years ago
@cropguide/browser v1.0.2
Official CropGuide SDK for Browsers
Installation
Install NPM package.
npm i @cropguide/browser --saveUsage
Import the CropGuide module and run it as soon as possible in your app.
Replace ABC123 with your CropGuide key.
Pass debug property as option and set to true to enable debug mode.
See CropGuide configuration options for info on possible configuration options.
import CropGuide from '@cropguide/browser';
CropGuide('ABC123', {
// CropGuide options
// ...
})
.then(() => {
// CropGuide init fired
})
.catch(() => {
// Something went wrong
});