Replies: 1 comment
-
You can maybe try using anywidget to right your javascript: https://anywidget.dev/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the documentation one can reference external JavaScript libraries in a Custom HTML Head.
<script src="http://maker.js.org/target/js/browser.maker.js" type="text/javascript"></script>I reference the makerjs JavaScript library like this:
To use this library one have to write a JavaScript code, which can be run only in mo.iframe(). This code does not work because names in the global JavaScript namespace can not be seen in mo.iframe().
If I place the makerjs library reference in to mo.iframe(), the code works, but in the browser console multiple error messages appear:
Uncaught ResizeObserver loop completed with undelivered notifications.
What is the proper way of using external JavaScript libraries?
Beta Was this translation helpful? Give feedback.
All reactions