Public
Edited
Aug 31, 2024
Insert cell
Insert cell
Insert cell
// from https://github.com/jupyter-widgets/ipywidgets/blob/b24fa6be5a289a23dd82eedcecbf6603ddbe2c0a/packages/base/src/widget.ts#L112-L764
jupyterWidgetsPublicModelApi = {
let publicApis = new Set();
for (let prop of [
// inherited from Backbone
...Object.keys(new Backbone.Model()),
...Object.keys(Backbone.Model.prototype),
// additional APIs from ipywidgets.DOMWidgetModel
...["comm_live", "send", "close", "get_state", "set_state", "serializers"]
]) {
if (prop.startsWith("_")) continue;
publicApis.add(prop);
}
return publicApis;
}
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more