Debian Codegraph @

jupyter-widgets-html-manager/lib/embed.js

raw
1 // Copyright (c) Jupyter Development Team.
2 // Distributed under the terms of the Modified BSD License.
3 import { HTMLManager } from './index';
4 import { renderWidgets } from './libembed';
5 // Render the widgets that we can
6 if (!window._jupyter_widget_embedder) {
7 window._jupyter_widget_embedder = true;
8 window.addEventListener('load', () => {
9 renderWidgets(() => new HTMLManager());
10 });
11 }
12 //# sourceMappingURL=embed.js.map