How to use the @jupyter-widgets/html-manager/package.json.version function in @jupyter-widgets/html-manager

To help you get started, we’ve selected a few @jupyter-widgets/html-manager examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyter-widgets / ipywidgets / widgetsnbextension / src / embed_widgets.js View on Github external
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

"use strict";

var VIEW_MIME_TYPE = "application/vnd.jupyter.widget-view+json"

var htmlManagerVersion = require("@jupyter-widgets/html-manager/package.json").version;

var embed_widgets = function() {

    /**
     * Escape a string that will be the content of an HTML script tag.
     *
     * We replace the opening bracket of 

@jupyter-widgets/html-manager

Standalone package for rendering Jupyter widgets outside notebooks

BSD-3-Clause
Latest version published 3 months ago

Package Health Score

93 / 100
Full package analysis

Similar packages