Javascript API

The return value of the attachPrintess() call holds a reference to the Printess JS-API, your direct link to the Printess Editor. In our example, the variable is named api. You can read the full JS-API documentation here:

JS-API

If you’re using typescript you’ll find the API type definition below:

printess-editor.d.ts

printess-editor.d.ts nightly