Using this module you can embed Design Editor (a part of Customer's Canvas) to your page through the IFrame API.
Aurigma Customer's Canvas SDK - Design Editor IFrame API
============================================
Design Editor is a primary component of Customer's Canvas SDK - an application which is used to personalize designs of various print products - from commercial printing and specialties through wide-format printing products. If it inserted to your website through the element.
This module is used to manage the Design Editor through the - load a template, manipulate object model, save and render the result, handle various events.
of a page:
html
`
Once you do it, you will get the CustomersCanvas.IframeApi namespace which contains all functions and classes to work with Design Editor. The basic usage looks like this:
` html
...
...
`
If you feel that this way to work with the API works fine for you, check out this documentation:
https://customerscanvas.com/dev/editors/iframe-api/reference/code-example.html
Otherwise, stay tuned. The remaining document explains how to add IFrame API and work with it using the second approach, through the modules.
$3
Just run
`
npm install @aurigma/design-editor-iframe
`
Once it finishes, you may import its classes and functions and use them in your project.
$3
Let's see how to write the equivalent to the classic approach code snippet you can find above.
First, somewhere in your HTML code, add the