Skip to main content

Function: preload()

preload(): void

Preloads resources of the web-to-print editor.

Returns

void

Example

<head>
<meta charset="utf-8" />
<title>Customer's Canvas Quick Start Sample Page</title>
<!-- The IFrame API script. IMPORTANT! Do not remove or change the ID. -->
<script id="CcIframeApiScript" type="text/javascript" src="/cc/Resources/Generated/IframeApi.js">
</script>
<!-- Preloading resources of the editor. -->
<script>CustomersCanvas.IframeApi.preload();</script>
</head>
Was this page helpful?