Closed NgocAnPham closed 7 years ago
Download these three files:
Now try this HTML:
<!-- 1st step -->
<script src="canvas-designer-widget.js"></script>
<!-- 2nd step -->
<script>
var designer = new CanvasDesigner();
// both links are mandatory
// widget.html will internally use widget.js
designer.widgetHtmlURL = 'widget.html'; // from your own server
designer.widgetJsURL = 'widget.min.js'; // from your own server
</script>
<!-- 3rd i.e. last step -->
<script>
// <iframe> will be appended to "document.body"
designer.appendTo(document.body || document.documentElement);
</script>
ok thanks you!
so i tried to add this canvas to my website by your "How to use" but it not work