Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

Iframe integration

The recommended integration is through iframes, as this allows for isolation:

<div id="cadviewer" layout="column" layout-fill flex ng-cloak>

    <iframe id="cadcontent" src="https://{host}/editor?auth={auth token}&file={fileId}...">

    </ iframe>

</div>

Widget integration

If iframe integration is not possible, Kudo can also take over a dedicated widget in a given page.

<html>
    <head>
        <style type="text/css">
            .Kudo {
                width: 1200px;
                height: 800px;
            }
        </style>
  </head>
  <body>
      <div id="editor" class="Kudo"></div>
      <script src="https://{host}:{port}/editor.js?auth={auth token}&file={fileId}...&target=editor">
      </script>
    </body>
</html>

  • No labels