-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CanvasDesigner with Typescript/Angular7 #53
Comments
The following changes resolved the above mentioned error: However, got the below error related to iframe and its source set to URL of "widget.html + widget.js"
... Error message: How to deal with the iframe or replace with what? |
I tried this below code, its working
|
can you tell how you connect socket.io |
Hi Muaz,
I'm trying to use Canvas-Designer into my Angular7 (Typescript) application. I tried to follow the documentation and couldn't make it work with Typescript.
The 1st hurdle is at "new CanvasDesigner()" with error "ReferenceError: CanvasDesigner is not defined".
"declare function CanvasDesigner(): void"
let designer = new CanvasDesigner();
designer.widgetHtmlURL = './widget.html';
designer.widgetJsURL = './widget.js';
Could you offer any suggestions to resolve this error?
The text was updated successfully, but these errors were encountered: