From 2e9a92c19e4479c8f466a66c0ba4e7c2492a8b50 Mon Sep 17 00:00:00 2001 From: Bartosz Telenczuk Date: Fri, 10 Jan 2020 18:10:57 +0100 Subject: [PATCH 01/16] add drag and drop based on @btel's work --- .../examples/Drag and Drop examples.ipynb | 792 ++++++++++++++++++ packages/controls/src/index.ts | 1 + packages/controls/src/widget_dragdrop.ts | 205 +++++ .../ipywidgets/ipywidgets/widgets/__init__.py | 1 + .../ipywidgets/ipywidgets/widgets/widget.py | 4 +- .../ipywidgets/widgets/widget_dragdrop.py | 82 ++ 6 files changed, 1083 insertions(+), 2 deletions(-) create mode 100644 docs/source/examples/Drag and Drop examples.ipynb create mode 100644 packages/controls/src/widget_dragdrop.ts create mode 100644 python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py diff --git a/docs/source/examples/Drag and Drop examples.ipynb b/docs/source/examples/Drag and Drop examples.ipynb new file mode 100644 index 0000000000..5a162e5316 --- /dev/null +++ b/docs/source/examples/Drag and Drop examples.ipynb @@ -0,0 +1,792 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Draggable Label" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "`DraggableLabel` is a label that can be dragged and dropped to other fields." + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": {}, + "outputs": [], + "source": [ + "from ipywidgets import Label, DraggableBox, DropBox, Textarea, VBox" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [], + "source": [ + "def set_drag_data(box):\n", + " box.drag_data['text/plain'] = box.children[0].value\n", + "\n", + "def DraggableLabel(value, draggable=True):\n", + " box = DraggableBox(Label(value))\n", + " box.draggable = draggable\n", + " return box" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "460d334fd7214373bf6512e94b48d350", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DraggableBox(child=Label(value='Hello Drag'))" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "DraggableLabel(\"Hello Drag\")" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "You can drag this label anywhere (could be your shell etc.), but also to a text area:" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "29b71c8d69c6441e942d03cd4da671e1", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "Textarea(value='')" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "Textarea()" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## `on_drop` handler" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "`DraggableLabel` can also become the drop zone (you can drop other stuff on it), if you implement the `on_drop` handler." + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "d3aac4a1f8b846db8e27495d904682b5", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DraggableBox(child=Label(value='Drag me'))" + ] + }, + "execution_count": 5, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "l1 = DraggableLabel(\"Drag me\")\n", + "l1" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now, drag this label on the label below." + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "c0082b4380d743beabd1397071ec41f6", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DropBox(child=Label(value='Drop on me'))" + ] + }, + "execution_count": 6, + "metadata": {}, + "output_type": "execute_result" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'text/plain': 'Drag me', 'application/vnd.jupyter.widget-view+json': 'd3aac4a1f8b846db8e27495d904682b5', 'widget': DraggableBox(child=Label(value='Drag me'))}\n" + ] + } + ], + "source": [ + "l2 = DropBox(Label(\"Drop on me\"))\n", + "def on_drop_handler(widget, data):\n", + " \"\"\"\"Arguments:\n", + " \n", + " widget : widget class\n", + " widget on which something was dropped\n", + " \n", + " data : dict\n", + " extra data sent from the dragged widget\"\"\"\n", + " print(data)\n", + " text = data['text/plain']\n", + " widget.child.value = \"congrats, you dropped '{}'\".format(text)\n", + "\n", + "l2.on_drop(on_drop_handler)\n", + "l2" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "**Note** : You can also drop other stuff (like files, images, links, selections, etc). Try it out!" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Changing any widget into a drop zone with arbitrary drop operations" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "If you have more specific needs for the drop behaviour you can also use DropBox widgets, which implements `on_drop` handlers." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "This DropBox will replace elements with text of the dropped element (works also for stuff which is not widget):" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "ef9e91fbcd2c45089f8897d72af12845", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DraggableBox(child=Label(value='Drag me'))" + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "from ipywidgets import DropBox, Layout, Button\n", + "\n", + "label = DraggableLabel(\"Drag me\", draggable=True)\n", + "label" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "or **Select and drag me!**" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "58d2f51d1b29455fabe519278478f69f", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DropBox(child=Label(value='Drop here!'), layout=Layout(height='100px', width='200px'))" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "box = DropBox(Label(\"Drop here!\"),\n", + " layout=Layout(width='200px', height='100px'))\n", + "def on_drop(widget, data):\n", + " text = data['text/plain']\n", + " widget.child = Button(description=text.upper())\n", + "\n", + "box.on_drop(on_drop)\n", + "box" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Adding widgets to container with a handler" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "You can also reproduce the Box example (adding elements to Box container) using `DropBox` with a custom handler:" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "67a49e632f3a48ecb0588ff21910b818", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DraggableBox(child=Label(value='Drag me'))" + ] + }, + "execution_count": 12, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "from ipywidgets import DropBox, Layout, Label\n", + "\n", + "label = DraggableLabel(\"Drag me\", draggable=True)\n", + "label" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "29474f46942d4ecb85b97ca1ee3530e4", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DropBox(child=VBox(children=(Label(value='Drop here'),)), layout=Layout(height='100px', width='200px'))" + ] + }, + "execution_count": 13, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "box = DropBox(VBox([Label('Drop here')]), \n", + " layout=Layout(width='200px', height='100px'))\n", + "\n", + "def on_drop(widget, data):\n", + " source = data['widget']\n", + " widget.child.children += (source, )\n", + "\n", + "box.on_drop(on_drop)\n", + "box" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "**Explanation**: Label widget sets data on the drop event of type `application/x-widget` that contains the widget id of the dragged widget." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Setting custom data on the drop event" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "You can also set custom data on `DraggableLabel` that can be retreived and used in `on_drop` event." + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "bb57d5bec390451d8766fbfb7d1f983f", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DraggableBox(child=Label(value='Drag me'), drag_data={'application/custom-data': 'Custom data'})" + ] + }, + "execution_count": 14, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "l = DraggableLabel(\"Drag me\", draggable=True)\n", + "l.drag_data = {'application/custom-data' : 'Custom data'}\n", + "l" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "c7e766365bf54ac4966d4f03fca04258", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DropBox(child=Label(value='Drop here'))" + ] + }, + "execution_count": 15, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "l2 = DropBox(Label(\"Drop here\"))\n", + "\n", + "def on_drop_handler(widget, data):\n", + " \"\"\"\"Arguments:\n", + " \n", + " widget : widget class\n", + " widget on which something was dropped\n", + " \n", + " data : dict\n", + " extra data sent from the dragged widget\"\"\"\n", + " \n", + " text = data['text/plain']\n", + " widget_id = data['application/vnd.jupyter.widget-view+json']\n", + " custom_data = data['application/custom-data']\n", + " widget.child.value = (\"you dropped widget ID '{}...' \"\n", + " \"with text '{}' and custom data '{}'\"\n", + " ).format(widget_id[:5], text, custom_data)\n", + "\n", + "l2.on_drop(on_drop_handler)\n", + "l2" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Making any widget draggable" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "`DraggableBox` can be used to wrap any widget so that it can be dragged and dropped." + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "metadata": {}, + "outputs": [], + "source": [ + "from ipywidgets import DraggableBox, Button, VBox, Layout, IntSlider, Label" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "246675c70be544cf9202e3cdb804f99b", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DraggableBox(child=IntSlider(value=0, description='Drag me', layout=Layout(width='250px')))" + ] + }, + "execution_count": 17, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "slider = IntSlider(layout=Layout(width='250px'), description='Drag me')\n", + "DraggableBox(slider, draggable=True)" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "metadata": {}, + "outputs": [], + "source": [ + "def attach_to_box(box, widget):\n", + " box.children += (widget, )" + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "62af6c1abfa6492c8e6351b4b0ad7f25", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DropBox(child=VBox(children=(Label(value='Drop sliders below'),), layout=Layout(height='150px', width='350px')…" + ] + }, + "execution_count": 19, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "vdropbox = DropBox(VBox([Label('Drop sliders below')], layout=Layout(width='350px', height='150px')))\n", + "vdropbox.on_drop(lambda *args: attach_to_box(vdropbox.child, args[1]['widget']))\n", + "vdropbox" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Draggable data columns" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "This implements a bit more complex example." + ] + }, + { + "cell_type": "code", + "execution_count": 20, + "metadata": {}, + "outputs": [], + "source": [ + "import bqplot.pyplot as plt\n", + "from ipywidgets import Label, GridspecLayout, DropBox, Layout\n", + "import json" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "metadata": {}, + "outputs": [], + "source": [ + "def create_table(data):\n", + " n_cols = len(data)\n", + " n_rows = max(len(column) for column in data.values())\n", + " grid = GridspecLayout(n_rows+1, n_cols)\n", + " columnames = list(data.keys())\n", + " for i in range(n_cols):\n", + " column = columnames[i]\n", + " data_json = json.dumps(data[column])\n", + " grid[0, i] = DraggableLabel(columnames[i], draggable=True)\n", + " grid[0, i].draggable = True\n", + " grid[0, i].drag_data = {'data/app' : data_json}\n", + " for j in range(n_rows):\n", + " grid[j+1, i] = DraggableLabel(str(data[column][j]), draggable=True)\n", + " grid[j+1, i].drag_data = {'data/app' : data_json}\n", + " return grid" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "metadata": {}, + "outputs": [], + "source": [ + "box = DropBox(Label(\"Drag data from the table and drop it here.\"), layout=Layout(height='500px', width='800px'))\n", + "def box_ondrop(widget, data):\n", + " fig = plt.figure()\n", + " y = json.loads(data['data/app'])\n", + " plt.plot(y)\n", + " widget.child = fig\n", + "box.on_drop(box_ondrop)" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "44b808f2cc8b4e10867545279e833d68", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "GridspecLayout(children=(DraggableBox(child=Label(value='col1'), drag_data={'data/app': '[4, 2, 1]'}, layout=L…" + ] + }, + "execution_count": 23, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "plot_data = {\n", + " 'col1': [ 4, 2, 1],\n", + " 'col2': [ 1, 3, 4],\n", + " 'col3': [-1, 2, -3]\n", + "}\n", + "create_table(plot_data)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "You can drag the data by the labels or values (the whole column will be dragged)." + ] + }, + { + "cell_type": "code", + "execution_count": 25, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "f94865838f714367877f60b8ab699426", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "DropBox(child=Figure(axes=[Axis(scale=LinearScale(), side='bottom'), Axis(orientation='vertical', scale=Linear…" + ] + }, + "execution_count": 25, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "box" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Plot builder" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Here is another example allowing to build plots from a list of labels." + ] + }, + { + "cell_type": "code", + "execution_count": 26, + "metadata": {}, + "outputs": [], + "source": [ + "from ipywidgets import SelectMultiple, Layout, DraggableBox, DropBox, HBox\n", + "import bqplot as bq\n", + "\n", + "select_list = SelectMultiple(\n", + " options=['Apples', 'Oranges', 'Pears'],\n", + " value=['Oranges'],\n", + " description='Fruits',\n", + " disabled=False\n", + ")\n", + "select_box = DraggableBox(select_list, draggable=True)\n", + "\n", + "fruits = {'Apples' : 5,\n", + " 'Oranges' : 1,\n", + " 'Pears': 3}\n", + "\n", + "\n", + "fig = bq.Figure(marks=[], fig_margin = dict(left=50, right=0, top=0, bottom=70))\n", + "fig.layout.height='300px'\n", + "fig.layout.width='300px'\n", + "fig_box = DropBox(fig)\n", + "\n", + "fig2 = bq.Figure(marks=[], fig_margin = dict(left=50, right=0, top=0, bottom=70))\n", + "fig2.layout.height='300px'\n", + "fig2.layout.width='300px'\n", + "fig2_box = DropBox(fig2)\n", + "\n", + "def on_fig_drop(widget, data):\n", + " \n", + " # get the figure widget\n", + " fig = widget.child\n", + " #get the selection widget\n", + " selection_widget = data['widget'].child\n", + " \n", + " # get the selected fruits and prices\n", + " selected = selection_widget.value\n", + " prices = [fruits[f] for f in selected]\n", + " \n", + " sc_x = bq.OrdinalScale()\n", + " sc_y = bq.LinearScale()\n", + "\n", + " ax_x = bq.Axis(scale=sc_x)\n", + " ax_y = bq.Axis(scale=sc_y, orientation='vertical')\n", + " bars = bq.Bars(x=selected, y=prices, scales={'x' : sc_x, 'y' : sc_y })\n", + " fig.axes = [ax_x, ax_y]\n", + " fig.marks = [bars]\n", + "\n", + "fig_box.on_drop(on_fig_drop)\n", + "fig2_box.on_drop(on_fig_drop)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Select and drag fruits from the list to the boxes on the right. It's better to drag the selection using the \"Fruits\" label, due to a smalll glitch in the selection widget." + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "b4a88100b0004784b18acecaedf02e3c", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(DraggableBox(child=SelectMultiple(description='Fruits', index=(1,), options=('Apples', 'Oranges…" + ] + }, + "execution_count": 27, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "HBox([select_box,\n", + " fig_box,\n", + " fig2_box])" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.7.6" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/packages/controls/src/index.ts b/packages/controls/src/index.ts index 912458d981..88ba3e4eeb 100644 --- a/packages/controls/src/index.ts +++ b/packages/controls/src/index.ts @@ -23,5 +23,6 @@ export * from './widget_tagsinput'; export * from './widget_string'; export * from './widget_description'; export * from './widget_upload'; +export * from './widget_dragdrop'; export const version = (require('../package.json') as any).version; diff --git a/packages/controls/src/widget_dragdrop.ts b/packages/controls/src/widget_dragdrop.ts new file mode 100644 index 0000000000..2392183da8 --- /dev/null +++ b/packages/controls/src/widget_dragdrop.ts @@ -0,0 +1,205 @@ +// Copyright (c) Jupyter Development Team. +// Distributed under the terms of the Modified BSD License. + +import { + CoreDOMWidgetModel +} from './widget_core'; + +import { + DOMWidgetView, unpack_models, WidgetModel, WidgetView, JupyterLuminoPanelWidget, reject +} from '@jupyter-widgets/base'; + +import * as _ from 'underscore'; + +export +class DraggableBoxModel extends CoreDOMWidgetModel { + defaults(): Backbone.ObjectHash { + return _.extend(super.defaults(), { + _view_name: 'DraggableBoxView', + _model_name: 'DraggableBoxModel', + child: null, + draggable: true, + drag_data: {} + }); + } + + static serializers = { + ...CoreDOMWidgetModel.serializers, + child: {deserialize: unpack_models} + }; +} + +export +class DropBoxModel extends CoreDOMWidgetModel { + defaults(): Backbone.ObjectHash { + return _.extend(super.defaults(), { + _view_name: 'DropBoxView', + _model_name: 'DropBoxModel', + child: null + }); + } + + static serializers = { + ...CoreDOMWidgetModel.serializers, + child: {deserialize: unpack_models} + }; +} + +class DragDropBoxViewBase extends DOMWidgetView { + child_view: DOMWidgetView | null; + pWidget: JupyterLuminoPanelWidget; + + _createElement(tagName: string): HTMLElement { + this.pWidget = new JupyterLuminoPanelWidget({ view: this }); + return this.pWidget.node; + } + + _setElement(el: HTMLElement): void { + if (this.el || el !== this.pWidget.node) { + // Boxes don't allow setting the element beyond the initial creation. + throw new Error('Cannot reset the DOM element.'); + } + + this.el = this.pWidget.node; + this.$el = $(this.pWidget.node); + } + + initialize(parameters: WidgetView.IInitializeParameters): void { + super.initialize(parameters); + this.add_child_model(this.model.get('child')); + this.listenTo(this.model, 'change:child', this.update_child); + + this.pWidget.addClass('jupyter-widgets'); + this.pWidget.addClass('widget-container'); + this.pWidget.addClass('widget-draggable-box'); + } + + add_child_model(model: WidgetModel): Promise { + return this.create_child_view(model).then((view: DOMWidgetView) => { + if (this.child_view && this.child_view !== null) { + this.child_view.remove(); + } + this.pWidget.addWidget(view.pWidget); + this.child_view = view; + return view; + }).catch(reject('Could not add child view to box', true)); + } + + update_child(): void { + this.add_child_model(this.model.get('child')); + } + + render(): void { + super.render(); + } + + remove(): void { + this.child_view = null; + super.remove(); + } +} + +export +class DraggableBoxView extends DragDropBoxViewBase { + /** + * Draggable mixin. + * Allows the widget to be draggable + * + * Note: In order to use it, you will need to add + * handlers for dragstartevent in the view class + * also need to call dragSetup at initialization time + * + * The view class must implement Draggable interface and + * declare the methods (no definition). + * For example: + * + * on_dragstart : (event: Object) => void; + * on_change_draggable : () => void; + * dragSetup : () => void; + * + * Also need to call applyMixin on the view class + * The model class needs to have drag_data attribute + * + * follows the example from typescript docs + * https://www.typescriptlang.org/docs/handbook/mixins.html + */ + + initialize(parameters: WidgetView.IInitializeParameters): void { + super.initialize(parameters); + this.dragSetup(); + } + + events(): {[e: string] : string; } { + return {'dragstart' : 'on_dragstart'}; + } + + on_dragstart(event: any) { + if (this.model.get('child')?.get('value')) { + event.dataTransfer.setData('text/plain', this.model.get('child').get('value')); + } + let drag_data = this.model.get('drag_data'); + for (let datatype in drag_data) { + event.dataTransfer.setData(datatype, drag_data[datatype]); + } + + event.dataTransfer.setData('application/vnd.jupyter.widget-view+json', this.model.model_id); + event.dataTransfer.dropEffect = 'copy'; + } + + dragSetup() { + this.el.draggable = this.model.get('draggable'); + this.model.on('change:draggable', this.on_change_draggable, this); + } + + on_change_draggable() { + this.el.draggable = this.model.get('draggable'); + } +} + +export +class DropBoxView extends DragDropBoxViewBase { + /** Droppbable mixin + * Implements handler for drop events. + * The view class implementing this interface needs to + * listen to 'drop' event with '_handle_drop', and to + * 'dragover' event with 'on_dragover' + * + * In order to use this mixin, the view class needs to + * implement the Droppable interface, define the following + * placeholders: + * + * _handle_drop : (event: Object) => void; + * on_dragover : (event : Object) => void; + * + * and you need to call applyMixin on class definition. + * + * follows the example from typescript docs + * https://www.typescriptlang.org/docs/handbook/mixins.html + */ + + events(): {[e: string] : string; } { + return { + 'drop': '_handle_drop', + 'dragover': 'on_dragover' + }; + } + + _handle_drop(event: any) { + event.preventDefault(); + + let datamap: any = {}; + + for (let i=0; i < event.dataTransfer.types.length; i++) { + let t = event.dataTransfer.types[i]; + datamap[t] = event.dataTransfer.getData(t); + } + + this.send({event: 'drop', data: datamap}); + } + + on_dragover(event: any) { + event.preventDefault(); + event.stopPropagation(); + event.dataTransfer.dropEffect = 'copy'; + } +} \ No newline at end of file diff --git a/python/ipywidgets/ipywidgets/widgets/__init__.py b/python/ipywidgets/ipywidgets/widgets/__init__.py index b90d3ee111..f9cc25dc7f 100644 --- a/python/ipywidgets/ipywidgets/widgets/__init__.py +++ b/python/ipywidgets/ipywidgets/widgets/__init__.py @@ -30,3 +30,4 @@ from .widget_style import Style from .widget_templates import TwoByTwoLayout, AppLayout, GridspecLayout from .widget_upload import FileUpload +from .widget_dragdrop import DraggableBox, DropBox diff --git a/python/ipywidgets/ipywidgets/widgets/widget.py b/python/ipywidgets/ipywidgets/widgets/widget.py index 418fd7e9a3..0ed966f7c5 100644 --- a/python/ipywidgets/ipywidgets/widgets/widget.py +++ b/python/ipywidgets/ipywidgets/widgets/widget.py @@ -43,7 +43,7 @@ def envset(name, default): # https://github.com/jupyter-widgets/ipywidgets/issues/1345 _instances : typing.MutableMapping[str, "Widget"] = {} -def _widget_to_json(x, obj): +def _widget_to_json(x, obj=None): if isinstance(x, dict): return {k: _widget_to_json(v, obj) for k, v in x.items()} elif isinstance(x, (list, tuple)): @@ -53,7 +53,7 @@ def _widget_to_json(x, obj): else: return x -def _json_to_widget(x, obj): +def _json_to_widget(x, obj=None): if isinstance(x, dict): return {k: _json_to_widget(v, obj) for k, v in x.items()} elif isinstance(x, (list, tuple)): diff --git a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py new file mode 100644 index 0000000000..9c5646ec08 --- /dev/null +++ b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py @@ -0,0 +1,82 @@ +# Copyright (c) Jupyter Development Team. +# Distributed under the terms of the Modified BSD License. + +"""Contains the DropWidget class""" +from .widget import Widget, CallbackDispatcher, register, widget_serialization +from .domwidget import DOMWidget +from .widget_core import CoreWidget +from traitlets import Bool, Dict, Unicode, Instance + + +class DropWidget(DOMWidget, CoreWidget): + """Widget that has the ondrop handler. Used as a mixin""" + + draggable = Bool(default=False).tag(sync=True) + drag_data = Dict().tag(sync=True) + + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self._drop_handlers = CallbackDispatcher() + self._dragstart_handlers = CallbackDispatcher() + self.on_msg(self._handle_dragdrop_msg) + + def on_drop(self, callback, remove=False): + """ + Register a callback to execute when an element is dropped. + The callback will be called with two arguments, the clicked button + widget instance, and the dropped element data. + Parameters + ---------- + remove: bool (optional) + Set to true to remove the callback from the list of callbacks. + """ + self._drop_handlers.register_callback(callback, remove=remove) + + def drop(self, data): + """ + Programmatically trigger a drop event. + This will call the callbacks registered to the drop event. + """ + + if data.get('application/vnd.jupyter.widget-view+json'): + data['widget'] = widget_serialization['from_json']('IPY_MODEL_' + data['application/vnd.jupyter.widget-view+json']) + + self._drop_handlers(self, data) + + def on_dragstart(self, callback, remove=False): + self._dragstart_handlers.register_callback(callback, remove=remove) + + def dragstart(self): + self._dragstart_handlers(self) + + def _handle_dragdrop_msg(self, _, content, buffers): + """Handle a msg from the front-end. + Parameters + ---------- + content: dict + Content of the msg. + """ + if content.get('event', '') == 'drop': + self.drop(content.get('data', {})) + elif content.get('event', '') == 'dragstart': + self.dragstart() + +@register +class DropBox(DropWidget): + _model_name = Unicode('DropBoxModel').tag(sync=True) + _view_name = Unicode('DropBoxView').tag(sync=True) + child = Instance(Widget).tag(sync=True, **widget_serialization) + + def __init__(self, child, *args, **kwargs): + super(DropBox, self).__init__(*args, **kwargs, child=child) + +@register +class DraggableBox(DropWidget): + _model_name = Unicode('DraggableBoxModel').tag(sync=True) + _view_name = Unicode('DraggableBoxView').tag(sync=True) + child = Instance(Widget).tag(sync=True, **widget_serialization) + draggable = Bool(True).tag(sync=True) + drag_data = Dict().tag(sync=True) + + def __init__(self, child, *args, **kwargs): + super(DraggableBox, self).__init__(*args, **kwargs, child=child) From 018505c0f339c623c7d4919aa4d92c5e97fd490e Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Sat, 11 Jan 2020 12:01:58 +0100 Subject: [PATCH 02/16] fix linter issues --- ...rop examples.ipynb => Drag and Drop.ipynb} | 84 +++++++++---------- packages/controls/src/widget_dragdrop.ts | 48 ++++++----- .../ipywidgets/widgets/widget_dragdrop.py | 12 +-- 3 files changed, 75 insertions(+), 69 deletions(-) rename docs/source/examples/{Drag and Drop examples.ipynb => Drag and Drop.ipynb} (93%) diff --git a/docs/source/examples/Drag and Drop examples.ipynb b/docs/source/examples/Drag and Drop.ipynb similarity index 93% rename from docs/source/examples/Drag and Drop examples.ipynb rename to docs/source/examples/Drag and Drop.ipynb index 5a162e5316..2b37d0cd0c 100644 --- a/docs/source/examples/Drag and Drop examples.ipynb +++ b/docs/source/examples/Drag and Drop.ipynb @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -46,7 +46,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "460d334fd7214373bf6512e94b48d350", + "model_id": "98fccc59219d44a6b0cb8eae0562b46e", "version_major": 2, "version_minor": 0 }, @@ -78,7 +78,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "29b71c8d69c6441e942d03cd4da671e1", + "model_id": "65e6ec5eb86b410cbce29f07dd846385", "version_major": 2, "version_minor": 0 }, @@ -117,7 +117,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "d3aac4a1f8b846db8e27495d904682b5", + "model_id": "c113a1c95285465592ee98227120f597", "version_major": 2, "version_minor": 0 }, @@ -150,7 +150,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "c0082b4380d743beabd1397071ec41f6", + "model_id": "4af0471abc3a4a5095ca121766948b60", "version_major": 2, "version_minor": 0 }, @@ -166,7 +166,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "{'text/plain': 'Drag me', 'application/vnd.jupyter.widget-view+json': 'd3aac4a1f8b846db8e27495d904682b5', 'widget': DraggableBox(child=Label(value='Drag me'))}\n" + "{'text/plain': 'Drag me', 'application/vnd.jupyter.widget-view+json': 'c113a1c95285465592ee98227120f597', 'widget': DraggableBox(child=Label(value='Drag me'))}\n" ] } ], @@ -224,7 +224,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "ef9e91fbcd2c45089f8897d72af12845", + "model_id": "d4ca90bafedf4a1fa7b2e57d3d2b3387", "version_major": 2, "version_minor": 0 }, @@ -259,7 +259,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "58d2f51d1b29455fabe519278478f69f", + "model_id": "46ade71e68a0435f81fc7de391d6abba", "version_major": 2, "version_minor": 0 }, @@ -299,13 +299,13 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 9, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "67a49e632f3a48ecb0588ff21910b818", + "model_id": "21d9bcd6218447169ffe194cacc120e6", "version_major": 2, "version_minor": 0 }, @@ -313,7 +313,7 @@ "DraggableBox(child=Label(value='Drag me'))" ] }, - "execution_count": 12, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -327,13 +327,13 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 10, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "29474f46942d4ecb85b97ca1ee3530e4", + "model_id": "715966a4cc4d4edfbd6ba181a08d80bd", "version_major": 2, "version_minor": 0 }, @@ -341,7 +341,7 @@ "DropBox(child=VBox(children=(Label(value='Drop here'),)), layout=Layout(height='100px', width='200px'))" ] }, - "execution_count": 13, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -381,7 +381,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 11, "metadata": { "scrolled": true }, @@ -389,7 +389,7 @@ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "bb57d5bec390451d8766fbfb7d1f983f", + "model_id": "75e49d2a1548473cb3490dbf8609dc31", "version_major": 2, "version_minor": 0 }, @@ -397,7 +397,7 @@ "DraggableBox(child=Label(value='Drag me'), drag_data={'application/custom-data': 'Custom data'})" ] }, - "execution_count": 14, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } @@ -410,13 +410,13 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 12, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "c7e766365bf54ac4966d4f03fca04258", + "model_id": "8ba49ae0ee34481399031c482cb1debc", "version_major": 2, "version_minor": 0 }, @@ -424,7 +424,7 @@ "DropBox(child=Label(value='Drop here'))" ] }, - "execution_count": 15, + "execution_count": 12, "metadata": {}, "output_type": "execute_result" } @@ -468,7 +468,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 13, "metadata": {}, "outputs": [], "source": [ @@ -477,13 +477,13 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "246675c70be544cf9202e3cdb804f99b", + "model_id": "661bd735e4604ac792e10bb609b163d6", "version_major": 2, "version_minor": 0 }, @@ -491,7 +491,7 @@ "DraggableBox(child=IntSlider(value=0, description='Drag me', layout=Layout(width='250px')))" ] }, - "execution_count": 17, + "execution_count": 14, "metadata": {}, "output_type": "execute_result" } @@ -503,7 +503,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 15, "metadata": {}, "outputs": [], "source": [ @@ -513,13 +513,13 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 16, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "62af6c1abfa6492c8e6351b4b0ad7f25", + "model_id": "26d319118d0e4e16826f4c5ca8ce479e", "version_major": 2, "version_minor": 0 }, @@ -527,7 +527,7 @@ "DropBox(child=VBox(children=(Label(value='Drop sliders below'),), layout=Layout(height='150px', width='350px')…" ] }, - "execution_count": 19, + "execution_count": 16, "metadata": {}, "output_type": "execute_result" } @@ -554,7 +554,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 17, "metadata": {}, "outputs": [], "source": [ @@ -565,7 +565,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 18, "metadata": {}, "outputs": [], "source": [ @@ -588,7 +588,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 19, "metadata": {}, "outputs": [], "source": [ @@ -603,13 +603,13 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 20, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "44b808f2cc8b4e10867545279e833d68", + "model_id": "2477925b3bc9403892c7ea797b5fe82f", "version_major": 2, "version_minor": 0 }, @@ -617,7 +617,7 @@ "GridspecLayout(children=(DraggableBox(child=Label(value='col1'), drag_data={'data/app': '[4, 2, 1]'}, layout=L…" ] }, - "execution_count": 23, + "execution_count": 20, "metadata": {}, "output_type": "execute_result" } @@ -640,21 +640,21 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 21, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "f94865838f714367877f60b8ab699426", + "model_id": "e0dd3bf734be402a8c93857bb78f773b", "version_major": 2, "version_minor": 0 }, "text/plain": [ - "DropBox(child=Figure(axes=[Axis(scale=LinearScale(), side='bottom'), Axis(orientation='vertical', scale=Linear…" + "DropBox(child=Label(value='Drag data from the table and drop it here.'), layout=Layout(height='500px', width='…" ] }, - "execution_count": 25, + "execution_count": 21, "metadata": {}, "output_type": "execute_result" } @@ -679,7 +679,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 22, "metadata": {}, "outputs": [], "source": [ @@ -742,13 +742,13 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 23, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "b4a88100b0004784b18acecaedf02e3c", + "model_id": "7647ef70e93743fd83a19b916f1bb73c", "version_major": 2, "version_minor": 0 }, @@ -756,7 +756,7 @@ "HBox(children=(DraggableBox(child=SelectMultiple(description='Fruits', index=(1,), options=('Apples', 'Oranges…" ] }, - "execution_count": 27, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } diff --git a/packages/controls/src/widget_dragdrop.ts b/packages/controls/src/widget_dragdrop.ts index 2392183da8..bebb2dc3e8 100644 --- a/packages/controls/src/widget_dragdrop.ts +++ b/packages/controls/src/widget_dragdrop.ts @@ -129,29 +129,30 @@ class DraggableBoxView extends DragDropBoxViewBase { this.dragSetup(); } - events(): {[e: string] : string; } { + events(): {[e: string]: string} { return {'dragstart' : 'on_dragstart'}; } - on_dragstart(event: any) { - if (this.model.get('child')?.get('value')) { - event.dataTransfer.setData('text/plain', this.model.get('child').get('value')); - } - let drag_data = this.model.get('drag_data'); - for (let datatype in drag_data) { - event.dataTransfer.setData(datatype, drag_data[datatype]); + on_dragstart(event: DragEvent): void { + if (event.dataTransfer) { + if (this.model.get('child').get('value')) { + event.dataTransfer?.setData('text/plain', this.model.get('child').get('value')); + } + const drag_data = this.model.get('drag_data'); + for (const datatype in drag_data) { + event.dataTransfer.setData(datatype, drag_data[datatype]); + } + event.dataTransfer.setData('application/vnd.jupyter.widget-view+json', this.model.model_id); + event.dataTransfer.dropEffect = 'copy'; } - - event.dataTransfer.setData('application/vnd.jupyter.widget-view+json', this.model.model_id); - event.dataTransfer.dropEffect = 'copy'; } - dragSetup() { + dragSetup(): void { this.el.draggable = this.model.get('draggable'); this.model.on('change:draggable', this.on_change_draggable, this); } - on_change_draggable() { + on_change_draggable(): void { this.el.draggable = this.model.get('draggable'); } } @@ -177,29 +178,34 @@ class DropBoxView extends DragDropBoxViewBase { * https://www.typescriptlang.org/docs/handbook/mixins.html */ - events(): {[e: string] : string; } { + events(): {[e: string]: string} { return { 'drop': '_handle_drop', 'dragover': 'on_dragover' }; } - _handle_drop(event: any) { + _handle_drop(event: DragEvent): void { event.preventDefault(); - let datamap: any = {}; + const datamap: {[e: string]: string} = {}; - for (let i=0; i < event.dataTransfer.types.length; i++) { - let t = event.dataTransfer.types[i]; - datamap[t] = event.dataTransfer.getData(t); + if (event.dataTransfer) + { + for (let i=0; i < event.dataTransfer.types.length; i++) { + const t = event.dataTransfer.types[i]; + datamap[t] = event.dataTransfer?.getData(t); + } } this.send({event: 'drop', data: datamap}); } - on_dragover(event: any) { + on_dragover(event: DragEvent): void { event.preventDefault(); event.stopPropagation(); - event.dataTransfer.dropEffect = 'copy'; + if (event.dataTransfer) { + event.dataTransfer.dropEffect = 'copy'; + } } } \ No newline at end of file diff --git a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py index 9c5646ec08..452f369fb6 100644 --- a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py +++ b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py @@ -65,18 +65,18 @@ def _handle_dragdrop_msg(self, _, content, buffers): class DropBox(DropWidget): _model_name = Unicode('DropBoxModel').tag(sync=True) _view_name = Unicode('DropBoxView').tag(sync=True) - child = Instance(Widget).tag(sync=True, **widget_serialization) + child = Instance(Widget, allow_none=True).tag(sync=True, **widget_serialization) - def __init__(self, child, *args, **kwargs): - super(DropBox, self).__init__(*args, **kwargs, child=child) + def __init__(self, child=None, **kwargs): + super(DropBox, self).__init__(**kwargs, child=child) @register class DraggableBox(DropWidget): _model_name = Unicode('DraggableBoxModel').tag(sync=True) _view_name = Unicode('DraggableBoxView').tag(sync=True) - child = Instance(Widget).tag(sync=True, **widget_serialization) + child = Instance(Widget, allow_none=True).tag(sync=True, **widget_serialization) draggable = Bool(True).tag(sync=True) drag_data = Dict().tag(sync=True) - def __init__(self, child, *args, **kwargs): - super(DraggableBox, self).__init__(*args, **kwargs, child=child) + def __init__(self, child=None, **kwargs): + super(DraggableBox, self).__init__(**kwargs, child=child) From c5ea6fa0ebc3d049d538386ba7e82d74ead2bed9 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Tue, 14 Jan 2020 18:22:33 +0100 Subject: [PATCH 03/16] finalize PR --- docs/source/examples/Drag and Drop.ipynb | 357 +++--------------- packages/controls/src/widget_dragdrop.ts | 55 +-- .../ipywidgets/widgets/widget_dragdrop.py | 67 +++- 3 files changed, 115 insertions(+), 364 deletions(-) diff --git a/docs/source/examples/Drag and Drop.ipynb b/docs/source/examples/Drag and Drop.ipynb index 2b37d0cd0c..142a3a7aae 100644 --- a/docs/source/examples/Drag and Drop.ipynb +++ b/docs/source/examples/Drag and Drop.ipynb @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -25,7 +25,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -40,25 +40,9 @@ }, { "cell_type": "code", - "execution_count": 3, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "98fccc59219d44a6b0cb8eae0562b46e", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DraggableBox(child=Label(value='Hello Drag'))" - ] - }, - "execution_count": 3, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "DraggableLabel(\"Hello Drag\")" ] @@ -72,25 +56,9 @@ }, { "cell_type": "code", - "execution_count": 4, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "65e6ec5eb86b410cbce29f07dd846385", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Textarea(value='')" - ] - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "Textarea()" ] @@ -111,25 +79,9 @@ }, { "cell_type": "code", - "execution_count": 5, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "c113a1c95285465592ee98227120f597", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DraggableBox(child=Label(value='Drag me'))" - ] - }, - "execution_count": 5, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "l1 = DraggableLabel(\"Drag me\")\n", "l1" @@ -144,32 +96,9 @@ }, { "cell_type": "code", - "execution_count": 6, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "4af0471abc3a4a5095ca121766948b60", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DropBox(child=Label(value='Drop on me'))" - ] - }, - "execution_count": 6, - "metadata": {}, - "output_type": "execute_result" - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{'text/plain': 'Drag me', 'application/vnd.jupyter.widget-view+json': 'c113a1c95285465592ee98227120f597', 'widget': DraggableBox(child=Label(value='Drag me'))}\n" - ] - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "l2 = DropBox(Label(\"Drop on me\"))\n", "def on_drop_handler(widget, data):\n", @@ -218,25 +147,9 @@ }, { "cell_type": "code", - "execution_count": 7, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "d4ca90bafedf4a1fa7b2e57d3d2b3387", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DraggableBox(child=Label(value='Drag me'))" - ] - }, - "execution_count": 7, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "from ipywidgets import DropBox, Layout, Button\n", "\n", @@ -253,25 +166,9 @@ }, { "cell_type": "code", - "execution_count": 8, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "46ade71e68a0435f81fc7de391d6abba", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DropBox(child=Label(value='Drop here!'), layout=Layout(height='100px', width='200px'))" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "box = DropBox(Label(\"Drop here!\"),\n", " layout=Layout(width='200px', height='100px'))\n", @@ -299,25 +196,9 @@ }, { "cell_type": "code", - "execution_count": 9, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "21d9bcd6218447169ffe194cacc120e6", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DraggableBox(child=Label(value='Drag me'))" - ] - }, - "execution_count": 9, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "from ipywidgets import DropBox, Layout, Label\n", "\n", @@ -327,25 +208,9 @@ }, { "cell_type": "code", - "execution_count": 10, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "715966a4cc4d4edfbd6ba181a08d80bd", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DropBox(child=VBox(children=(Label(value='Drop here'),)), layout=Layout(height='100px', width='200px'))" - ] - }, - "execution_count": 10, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "box = DropBox(VBox([Label('Drop here')]), \n", " layout=Layout(width='200px', height='100px'))\n", @@ -381,27 +246,11 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": { "scrolled": true }, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "75e49d2a1548473cb3490dbf8609dc31", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DraggableBox(child=Label(value='Drag me'), drag_data={'application/custom-data': 'Custom data'})" - ] - }, - "execution_count": 11, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "l = DraggableLabel(\"Drag me\", draggable=True)\n", "l.drag_data = {'application/custom-data' : 'Custom data'}\n", @@ -410,25 +259,9 @@ }, { "cell_type": "code", - "execution_count": 12, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "8ba49ae0ee34481399031c482cb1debc", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DropBox(child=Label(value='Drop here'))" - ] - }, - "execution_count": 12, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "l2 = DropBox(Label(\"Drop here\"))\n", "\n", @@ -442,7 +275,7 @@ " extra data sent from the dragged widget\"\"\"\n", " \n", " text = data['text/plain']\n", - " widget_id = data['application/vnd.jupyter.widget-view+json']\n", + " widget_id = data['widget'].model_id\n", " custom_data = data['application/custom-data']\n", " widget.child.value = (\"you dropped widget ID '{}...' \"\n", " \"with text '{}' and custom data '{}'\"\n", @@ -468,7 +301,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -477,25 +310,9 @@ }, { "cell_type": "code", - "execution_count": 14, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "661bd735e4604ac792e10bb609b163d6", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DraggableBox(child=IntSlider(value=0, description='Drag me', layout=Layout(width='250px')))" - ] - }, - "execution_count": 14, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "slider = IntSlider(layout=Layout(width='250px'), description='Drag me')\n", "DraggableBox(slider, draggable=True)" @@ -503,7 +320,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -513,25 +330,9 @@ }, { "cell_type": "code", - "execution_count": 16, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "26d319118d0e4e16826f4c5ca8ce479e", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DropBox(child=VBox(children=(Label(value='Drop sliders below'),), layout=Layout(height='150px', width='350px')…" - ] - }, - "execution_count": 16, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "vdropbox = DropBox(VBox([Label('Drop sliders below')], layout=Layout(width='350px', height='150px')))\n", "vdropbox.on_drop(lambda *args: attach_to_box(vdropbox.child, args[1]['widget']))\n", @@ -549,12 +350,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "This implements a bit more complex example." + "This implements a more complex example.\n", + "\n", + "**Note**: You need to have bqplot installed for this example to work." ] }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -565,7 +368,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -588,7 +391,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -603,25 +406,9 @@ }, { "cell_type": "code", - "execution_count": 20, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "2477925b3bc9403892c7ea797b5fe82f", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "GridspecLayout(children=(DraggableBox(child=Label(value='col1'), drag_data={'data/app': '[4, 2, 1]'}, layout=L…" - ] - }, - "execution_count": 20, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "plot_data = {\n", " 'col1': [ 4, 2, 1],\n", @@ -640,25 +427,9 @@ }, { "cell_type": "code", - "execution_count": 21, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "e0dd3bf734be402a8c93857bb78f773b", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "DropBox(child=Label(value='Drag data from the table and drop it here.'), layout=Layout(height='500px', width='…" - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "box" ] @@ -679,7 +450,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -742,25 +513,9 @@ }, { "cell_type": "code", - "execution_count": 23, - "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "7647ef70e93743fd83a19b916f1bb73c", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "HBox(children=(DraggableBox(child=SelectMultiple(description='Fruits', index=(1,), options=('Apples', 'Oranges…" - ] - }, - "execution_count": 23, - "metadata": {}, - "output_type": "execute_result" - } - ], + "execution_count": null, + "metadata": {}, + "outputs": [], "source": [ "HBox([select_box,\n", " fig_box,\n", diff --git a/packages/controls/src/widget_dragdrop.ts b/packages/controls/src/widget_dragdrop.ts index bebb2dc3e8..edbfba60c7 100644 --- a/packages/controls/src/widget_dragdrop.ts +++ b/packages/controls/src/widget_dragdrop.ts @@ -59,7 +59,6 @@ class DragDropBoxViewBase extends DOMWidgetView { // Boxes don't allow setting the element beyond the initial creation. throw new Error('Cannot reset the DOM element.'); } - this.el = this.pWidget.node; this.$el = $(this.pWidget.node); } @@ -89,41 +88,16 @@ class DragDropBoxViewBase extends DOMWidgetView { this.add_child_model(this.model.get('child')); } - render(): void { - super.render(); - } - remove(): void { this.child_view = null; super.remove(); } } +const JUPYTER_VIEW_MIME = 'application/vnd.jupyter.widget-view+json'; + export class DraggableBoxView extends DragDropBoxViewBase { - /** - * Draggable mixin. - * Allows the widget to be draggable - * - * Note: In order to use it, you will need to add - * handlers for dragstartevent in the view class - * also need to call dragSetup at initialization time - * - * The view class must implement Draggable interface and - * declare the methods (no definition). - * For example: - * - * on_dragstart : (event: Object) => void; - * on_change_draggable : () => void; - * dragSetup : () => void; - * - * Also need to call applyMixin on the view class - * The model class needs to have drag_data attribute - * - * follows the example from typescript docs - * https://www.typescriptlang.org/docs/handbook/mixins.html - */ - initialize(parameters: WidgetView.IInitializeParameters): void { super.initialize(parameters); this.dragSetup(); @@ -142,7 +116,11 @@ class DraggableBoxView extends DragDropBoxViewBase { for (const datatype in drag_data) { event.dataTransfer.setData(datatype, drag_data[datatype]); } - event.dataTransfer.setData('application/vnd.jupyter.widget-view+json', this.model.model_id); + event.dataTransfer.setData(JUPYTER_VIEW_MIME, JSON.stringify({ + "model_id": this.model.model_id, + "version_major": 2, + "version_minor": 0 + })); event.dataTransfer.dropEffect = 'copy'; } } @@ -159,25 +137,6 @@ class DraggableBoxView extends DragDropBoxViewBase { export class DropBoxView extends DragDropBoxViewBase { - /** Droppbable mixin - * Implements handler for drop events. - * The view class implementing this interface needs to - * listen to 'drop' event with '_handle_drop', and to - * 'dragover' event with 'on_dragover' - * - * In order to use this mixin, the view class needs to - * implement the Droppable interface, define the following - * placeholders: - * - * _handle_drop : (event: Object) => void; - * on_dragover : (event : Object) => void; - * - * and you need to call applyMixin on class definition. - * - * follows the example from typescript docs - * https://www.typescriptlang.org/docs/handbook/mixins.html - */ - events(): {[e: string]: string} { return { 'drop': '_handle_drop', diff --git a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py index 452f369fb6..2b8e0fc340 100644 --- a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py +++ b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py @@ -5,11 +5,12 @@ from .widget import Widget, CallbackDispatcher, register, widget_serialization from .domwidget import DOMWidget from .widget_core import CoreWidget +import json from traitlets import Bool, Dict, Unicode, Instance class DropWidget(DOMWidget, CoreWidget): - """Widget that has the ondrop handler. Used as a mixin""" + """Base widget for the single-child DropBox and DraggableBox widgets""" draggable = Bool(default=False).tag(sync=True) drag_data = Dict().tag(sync=True) @@ -21,10 +22,11 @@ def __init__(self, *args, **kwargs): self.on_msg(self._handle_dragdrop_msg) def on_drop(self, callback, remove=False): - """ - Register a callback to execute when an element is dropped. + """ Register a callback to execute when an element is dropped. + The callback will be called with two arguments, the clicked button widget instance, and the dropped element data. + Parameters ---------- remove: bool (optional) @@ -33,24 +35,19 @@ def on_drop(self, callback, remove=False): self._drop_handlers.register_callback(callback, remove=remove) def drop(self, data): - """ - Programmatically trigger a drop event. + """ Programmatically trigger a drop event. This will call the callbacks registered to the drop event. """ if data.get('application/vnd.jupyter.widget-view+json'): - data['widget'] = widget_serialization['from_json']('IPY_MODEL_' + data['application/vnd.jupyter.widget-view+json']) + widget_mime = json.loads(data['application/vnd.jupyter.widget-view+json']) + data['widget'] = widget_serialization['from_json']('IPY_MODEL_' + widget_mime['model_id']) self._drop_handlers(self, data) - def on_dragstart(self, callback, remove=False): - self._dragstart_handlers.register_callback(callback, remove=remove) - - def dragstart(self): - self._dragstart_handlers(self) - def _handle_dragdrop_msg(self, _, content, buffers): - """Handle a msg from the front-end. + """ Handle a msg from the front-end. + Parameters ---------- content: dict @@ -58,11 +55,25 @@ def _handle_dragdrop_msg(self, _, content, buffers): """ if content.get('event', '') == 'drop': self.drop(content.get('data', {})) - elif content.get('event', '') == 'dragstart': - self.dragstart() @register class DropBox(DropWidget): + """ A box that receives a drop event + + The DropBox can have one child, and you can attach an `on_drop` handler to it. + + Parameters + ---------- + child: Widget instance + The child widget instance that is displayed inside the DropBox + + Examples + -------- + >>> import ipywidgets as widgets + >>> dropbox_widget = widgets.DropBox(Label("Drop something on top of me")) + >>> dropbox_widget.on_drop(lambda box, data: print(data)) + """ + _model_name = Unicode('DropBoxModel').tag(sync=True) _view_name = Unicode('DropBoxView').tag(sync=True) child = Instance(Widget, allow_none=True).tag(sync=True, **widget_serialization) @@ -72,6 +83,32 @@ def __init__(self, child=None, **kwargs): @register class DraggableBox(DropWidget): + """ A draggable box + + A box widget that can be dragged e.g. on top of a DropBox. The draggable box can + contain a single child, and optionally drag_data which will be received on the widget + it's dropped on. + Draggability can be modified by flipping the boolean ``draggable`` attribute. + + Parameters + ---------- + child: Widget instance + The child widget instance that is displayed inside the DropBox + + draggable: Boolean (default True) + Trait that flips wether the draggable box is draggable or not + + drag_data: Dictionary + You can attach custom drag data here, which will be received as an argument on the receiver + side (in the ``on_drop`` event). + + Examples + -------- + >>> import ipywidgets as widgets + >>> draggable_widget = widgets.DraggableBox(Label("You can drag this button")) + >>> draggable_widget.drag_data = {"somerandomkey": "I have this data for you ..."} + """ + _model_name = Unicode('DraggableBoxModel').tag(sync=True) _view_name = Unicode('DraggableBoxView').tag(sync=True) child = Instance(Widget, allow_none=True).tag(sync=True, **widget_serialization) From d8b0a7c12fb94727b40d25a82debd83613dae032 Mon Sep 17 00:00:00 2001 From: Sylvain Corlay Date: Sat, 18 Jan 2020 13:14:15 +0100 Subject: [PATCH 04/16] Drop backbone --- packages/controls/src/widget_dragdrop.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/controls/src/widget_dragdrop.ts b/packages/controls/src/widget_dragdrop.ts index edbfba60c7..da3672a697 100644 --- a/packages/controls/src/widget_dragdrop.ts +++ b/packages/controls/src/widget_dragdrop.ts @@ -9,18 +9,17 @@ import { DOMWidgetView, unpack_models, WidgetModel, WidgetView, JupyterLuminoPanelWidget, reject } from '@jupyter-widgets/base'; -import * as _ from 'underscore'; - export class DraggableBoxModel extends CoreDOMWidgetModel { defaults(): Backbone.ObjectHash { - return _.extend(super.defaults(), { + return { + ...super.defaults(), _view_name: 'DraggableBoxView', _model_name: 'DraggableBoxModel', child: null, draggable: true, drag_data: {} - }); + }; } static serializers = { @@ -32,11 +31,12 @@ class DraggableBoxModel extends CoreDOMWidgetModel { export class DropBoxModel extends CoreDOMWidgetModel { defaults(): Backbone.ObjectHash { - return _.extend(super.defaults(), { + return { + ...super.defaults(), _view_name: 'DropBoxView', _model_name: 'DropBoxModel', child: null - }); + }; } static serializers = { @@ -167,4 +167,4 @@ class DropBoxView extends DragDropBoxViewBase { event.dataTransfer.dropEffect = 'copy'; } } -} \ No newline at end of file +} From 779db87cacc933ba634c2cb91f1ea9db7e54e9e8 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Sat, 18 Jan 2020 13:00:14 +0100 Subject: [PATCH 05/16] Add jquery import to widget_dragdrop.ts --- packages/controls/src/widget_dragdrop.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/controls/src/widget_dragdrop.ts b/packages/controls/src/widget_dragdrop.ts index da3672a697..5404864b90 100644 --- a/packages/controls/src/widget_dragdrop.ts +++ b/packages/controls/src/widget_dragdrop.ts @@ -9,6 +9,8 @@ import { DOMWidgetView, unpack_models, WidgetModel, WidgetView, JupyterLuminoPanelWidget, reject } from '@jupyter-widgets/base'; +import $ from 'jquery'; + export class DraggableBoxModel extends CoreDOMWidgetModel { defaults(): Backbone.ObjectHash { From 7de392ce762d3999152dee7bac884c4c79ade451 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Sun, 19 Jan 2020 09:58:21 +0100 Subject: [PATCH 06/16] remove unused code --- python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py index 2b8e0fc340..7fe57994f7 100644 --- a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py +++ b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py @@ -18,7 +18,6 @@ class DropWidget(DOMWidget, CoreWidget): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self._drop_handlers = CallbackDispatcher() - self._dragstart_handlers = CallbackDispatcher() self.on_msg(self._handle_dragdrop_msg) def on_drop(self, callback, remove=False): From 72e6d57c63af29010b605283e51cfe45a17d9231 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 20 Jan 2020 09:54:40 +0100 Subject: [PATCH 07/16] Fix drag and drop widget docstring --- python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py index 7fe57994f7..01e6c200c0 100644 --- a/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py +++ b/python/ipywidgets/ipywidgets/widgets/widget_dragdrop.py @@ -23,8 +23,8 @@ def __init__(self, *args, **kwargs): def on_drop(self, callback, remove=False): """ Register a callback to execute when an element is dropped. - The callback will be called with two arguments, the clicked button - widget instance, and the dropped element data. + The callback will be called with two arguments, the drop box + widget instance receiving the drop event, and the dropped element data. Parameters ---------- @@ -95,7 +95,7 @@ class DraggableBox(DropWidget): The child widget instance that is displayed inside the DropBox draggable: Boolean (default True) - Trait that flips wether the draggable box is draggable or not + Trait that flips whether the draggable box is draggable or not drag_data: Dictionary You can attach custom drag data here, which will be received as an argument on the receiver @@ -109,7 +109,7 @@ class DraggableBox(DropWidget): """ _model_name = Unicode('DraggableBoxModel').tag(sync=True) - _view_name = Unicode('DraggableBoxView').tag(sync=True) + _view_name = Unicode('DraggableBoxView').tag(sync=True) child = Instance(Widget, allow_none=True).tag(sync=True, **widget_serialization) draggable = Bool(True).tag(sync=True) drag_data = Dict().tag(sync=True) From 64dc3aea5387659c444364f0db67710bcd23f7f8 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 20 Jan 2020 11:02:21 +0100 Subject: [PATCH 08/16] Update Drag and Drop example notebook --- docs/source/examples/Drag and Drop.ipynb | 128 +++++++++++++---------- 1 file changed, 73 insertions(+), 55 deletions(-) diff --git a/docs/source/examples/Drag and Drop.ipynb b/docs/source/examples/Drag and Drop.ipynb index 142a3a7aae..2419af6c9c 100644 --- a/docs/source/examples/Drag and Drop.ipynb +++ b/docs/source/examples/Drag and Drop.ipynb @@ -4,14 +4,25 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Draggable Label" + "# Drag and Drop\n", + "\n", + "In this notebook we introduce the `DraggableBox` and `DropBox` widgets, that can be used to drag and drop widgets." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Draggable Box" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "`DraggableLabel` is a label that can be dragged and dropped to other fields." + "`DraggableBox` is a widget that wraps other widgets and makes them draggable.\n", + "\n", + "For example we can build a custom `DraggableLabel` as follows:" ] }, { @@ -20,7 +31,7 @@ "metadata": {}, "outputs": [], "source": [ - "from ipywidgets import Label, DraggableBox, DropBox, Textarea, VBox" + "from ipywidgets import Label, DraggableBox, Textarea" ] }, { @@ -29,9 +40,6 @@ "metadata": {}, "outputs": [], "source": [ - "def set_drag_data(box):\n", - " box.drag_data['text/plain'] = box.children[0].value\n", - "\n", "def DraggableLabel(value, draggable=True):\n", " box = DraggableBox(Label(value))\n", " box.draggable = draggable\n", @@ -51,7 +59,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You can drag this label anywhere (could be your shell etc.), but also to a text area:" + "You can drag this label anywhere (could be your shell, etc.), but also to a text area:" ] }, { @@ -67,14 +75,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## `on_drop` handler" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "`DraggableLabel` can also become the drop zone (you can drop other stuff on it), if you implement the `on_drop` handler." + "## Drop Box\n", + "\n", + "`DropBox` is a widget that can receive other `DraggableBox` widgets." ] }, { @@ -83,15 +86,18 @@ "metadata": {}, "outputs": [], "source": [ - "l1 = DraggableLabel(\"Drag me\")\n", - "l1" + "from ipywidgets import DropBox\n", + "\n", + "\n", + "box = DropBox(Label(\"Drop on me\"))\n", + "box" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "Now, drag this label on the label below." + "`DropBox` can become the drop zone (you can drop other stuff on it) by implementing the `on_drop` handler:" ] }, { @@ -100,21 +106,36 @@ "metadata": {}, "outputs": [], "source": [ - "l2 = DropBox(Label(\"Drop on me\"))\n", "def on_drop_handler(widget, data):\n", " \"\"\"\"Arguments:\n", " \n", - " widget : widget class\n", + " widget : Widget class\n", " widget on which something was dropped\n", " \n", " data : dict\n", " extra data sent from the dragged widget\"\"\"\n", - " print(data)\n", " text = data['text/plain']\n", " widget.child.value = \"congrats, you dropped '{}'\".format(text)\n", "\n", - "l2.on_drop(on_drop_handler)\n", - "l2" + "box.on_drop(on_drop_handler)\n", + "box" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now, drag this label on the box above." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "label = DraggableLabel(\"Drag me\")\n", + "label" ] }, { @@ -135,14 +156,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "If you have more specific needs for the drop behaviour you can also use DropBox widgets, which implements `on_drop` handlers." + "If you have more specific needs for the drop behavior you can implement them in the DropBox `on_drop` handler." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "This DropBox will replace elements with text of the dropped element (works also for stuff which is not widget):" + "This DropBox creates new `Button` widgets using the text data of the `DraggableLabel` widget." ] }, { @@ -151,7 +172,7 @@ "metadata": {}, "outputs": [], "source": [ - "from ipywidgets import DropBox, Layout, Button\n", + "from ipywidgets import Button, Layout\n", "\n", "label = DraggableLabel(\"Drag me\", draggable=True)\n", "label" @@ -170,12 +191,11 @@ "metadata": {}, "outputs": [], "source": [ - "box = DropBox(Label(\"Drop here!\"),\n", - " layout=Layout(width='200px', height='100px'))\n", "def on_drop(widget, data):\n", " text = data['text/plain']\n", " widget.child = Button(description=text.upper())\n", "\n", + "box = DropBox(Label(\"Drop here!\"), layout=Layout(width='200px', height='100px'))\n", "box.on_drop(on_drop)\n", "box" ] @@ -184,14 +204,14 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Adding widgets to container with a handler" + "## Adding widgets to a container with a handler" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ - "You can also reproduce the Box example (adding elements to Box container) using `DropBox` with a custom handler:" + "You can also reproduce the Box example (adding elements to a `Box` container) using a `DropBox` with a custom handler:" ] }, { @@ -200,8 +220,6 @@ "metadata": {}, "outputs": [], "source": [ - "from ipywidgets import DropBox, Layout, Label\n", - "\n", "label = DraggableLabel(\"Drag me\", draggable=True)\n", "label" ] @@ -212,13 +230,13 @@ "metadata": {}, "outputs": [], "source": [ - "box = DropBox(VBox([Label('Drop here')]), \n", - " layout=Layout(width='200px', height='100px'))\n", + "from ipywidgets import VBox\n", "\n", "def on_drop(widget, data):\n", " source = data['widget']\n", " widget.child.children += (source, )\n", "\n", + "box = DropBox(VBox([Label('Drop here')]), layout=Layout(width='200px', height='100px'))\n", "box.on_drop(on_drop)\n", "box" ] @@ -227,7 +245,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "**Explanation**: Label widget sets data on the drop event of type `application/x-widget` that contains the widget id of the dragged widget." + "**Explanation**: The `Label` widget sets data on the drop event of type `application/x-widget` that contains the widget id of the dragged widget." ] }, { @@ -241,7 +259,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You can also set custom data on `DraggableLabel` that can be retreived and used in `on_drop` event." + "You can also set custom data on a `DraggableBox` widget that can be retrieved and used in `on_drop` event." ] }, { @@ -252,9 +270,9 @@ }, "outputs": [], "source": [ - "l = DraggableLabel(\"Drag me\", draggable=True)\n", - "l.drag_data = {'application/custom-data' : 'Custom data'}\n", - "l" + "label = DraggableLabel(\"Drag me\", draggable=True)\n", + "label.drag_data = {'application/custom-data' : 'Custom data'}\n", + "label" ] }, { @@ -263,8 +281,6 @@ "metadata": {}, "outputs": [], "source": [ - "l2 = DropBox(Label(\"Drop here\"))\n", - "\n", "def on_drop_handler(widget, data):\n", " \"\"\"\"Arguments:\n", " \n", @@ -277,12 +293,12 @@ " text = data['text/plain']\n", " widget_id = data['widget'].model_id\n", " custom_data = data['application/custom-data']\n", - " widget.child.value = (\"you dropped widget ID '{}...' \"\n", - " \"with text '{}' and custom data '{}'\"\n", - " ).format(widget_id[:5], text, custom_data)\n", + " value = \"you dropped widget ID '{}...' with text '{}' and custom data '{}'\".format(widget_id[:5], text, custom_data)\n", + " widget.child.value = value\n", "\n", - "l2.on_drop(on_drop_handler)\n", - "l2" + "box = DropBox(Label(\"Drop here\"))\n", + "box.on_drop(on_drop_handler)\n", + "box" ] }, { @@ -296,7 +312,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "`DraggableBox` can be used to wrap any widget so that it can be dragged and dropped." + "`DraggableBox` can be used to wrap any widget so that it can be dragged and dropped. For example sliders can also be dragged:" ] }, { @@ -361,9 +377,9 @@ "metadata": {}, "outputs": [], "source": [ + "import json\n", "import bqplot.pyplot as plt\n", - "from ipywidgets import Label, GridspecLayout, DropBox, Layout\n", - "import json" + "from ipywidgets import Label, GridspecLayout, DropBox, Layout" ] }, { @@ -395,12 +411,13 @@ "metadata": {}, "outputs": [], "source": [ - "box = DropBox(Label(\"Drag data from the table and drop it here.\"), layout=Layout(height='500px', width='800px'))\n", "def box_ondrop(widget, data):\n", " fig = plt.figure()\n", " y = json.loads(data['data/app'])\n", " plt.plot(y)\n", " widget.child = fig\n", + " \n", + "box = DropBox(Label(\"Drag data from the table and drop it here.\"), layout=Layout(height='500px', width='800px'))\n", "box.on_drop(box_ondrop)" ] }, @@ -454,8 +471,8 @@ "metadata": {}, "outputs": [], "source": [ - "from ipywidgets import SelectMultiple, Layout, DraggableBox, DropBox, HBox\n", "import bqplot as bq\n", + "from ipywidgets import SelectMultiple, Layout, DraggableBox, DropBox, HBox\n", "\n", "select_list = SelectMultiple(\n", " options=['Apples', 'Oranges', 'Pears'],\n", @@ -465,10 +482,11 @@ ")\n", "select_box = DraggableBox(select_list, draggable=True)\n", "\n", - "fruits = {'Apples' : 5,\n", - " 'Oranges' : 1,\n", - " 'Pears': 3}\n", - "\n", + "fruits = {\n", + " 'Apples' : 5,\n", + " 'Oranges' : 1,\n", + " 'Pears': 3\n", + "}\n", "\n", "fig = bq.Figure(marks=[], fig_margin = dict(left=50, right=0, top=0, bottom=70))\n", "fig.layout.height='300px'\n", From 3c6fd7f6c859c7ea1d42adb74fb76f9426a076bb Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Thu, 23 Jan 2020 13:03:32 +0100 Subject: [PATCH 09/16] Add Dashboard Builder section in DnD notebook --- docs/source/examples/Drag and Drop.ipynb | 162 ++++++++++++++++++ .../images/create-new-view-for-output.png | Bin 0 -> 46711 bytes 2 files changed, 162 insertions(+) create mode 100644 docs/source/examples/images/create-new-view-for-output.png diff --git a/docs/source/examples/Drag and Drop.ipynb b/docs/source/examples/Drag and Drop.ipynb index 2419af6c9c..b3fbd0c66b 100644 --- a/docs/source/examples/Drag and Drop.ipynb +++ b/docs/source/examples/Drag and Drop.ipynb @@ -539,6 +539,168 @@ " fig_box,\n", " fig2_box])" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Dashboard Builder\n", + "\n", + "The drag and drop widgets can also be used to build a dashboard interactively.\n", + "\n", + "First let's define the structure of the dashboard by using the `AppLayout` layout template widget." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from ipywidgets import AppLayout, Button, DropBox, Layout, VBox" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Whenever a `DraggableBox` widget is dropped in a `Dropbox`, the content of the `Dropbox` will be replaced by the widget." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "def attach_to_box(box, widget):\n", + " box.child = widget\n", + "\n", + "\n", + "def create_expanded_dropbox(button_style):\n", + " box = DropBox(Button(description='Drop widget here', button_style=button_style, layout=Layout(width='100%', height='100%')))\n", + " box.on_drop(lambda *args: attach_to_box(box, args[1]['widget']))\n", + " return box" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Let's create the app layout:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "header = create_expanded_dropbox('success')\n", + "left_sidebar = create_expanded_dropbox('info')\n", + "center = create_expanded_dropbox('warning')\n", + "right_sidebar = create_expanded_dropbox('info')\n", + "footer = create_expanded_dropbox('success')" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "app = AppLayout(\n", + " header=header,\n", + " left_sidebar=left_sidebar,\n", + " center=center,\n", + " right_sidebar=right_sidebar,\n", + " footer=footer\n", + ")\n", + "app" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now let's create the widgets that will be part of the dashboard." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from ipywidgets import DraggableBox, Dropdown, IntProgress, IntSlider, Label, Tab, Text, link" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "title = Label('My Custom Dashboard', layout=Layout(display='flex', justify_content='center', width='auto'))\n", + "DraggableBox(title, draggable=True)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "slider = IntSlider(min=0, max=10, step=1, layout=Layout(width='auto'), description='Slider')\n", + "DraggableBox(slider, draggable=True)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "progress = IntProgress(\n", + " min=0,\n", + " max=10,\n", + " step=1,\n", + " description='Loading:',\n", + " orientation='horizontal',\n", + " layout=Layout(width='auto')\n", + ")\n", + "link((slider, 'value'), (progress, 'value'))\n", + "DraggableBox(progress, draggable=True)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "tab_contents = ['P0', 'P1', 'P2', 'P3', 'P4']\n", + "children = [Text(description=name) for name in tab_contents]\n", + "tab = Tab()\n", + "tab.children = children\n", + "for i in range(len(children)):\n", + " tab.set_title(i, str(i))\n", + "\n", + "DraggableBox(tab, draggable=True)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now let's drag the widgets and drop them in the app layout!\n", + "\n", + "In JupyterLab you can open the widget in a different panel by right clicking on the `AppLayout` widget and selecting `Create New View for Output`:\n", + "\n", + "![create-new-view-for-output](./images/create-new-view-for-output.png)\n", + "\n", + "This makes dragging widgets to the app layout more convenient." + ] } ], "metadata": { diff --git a/docs/source/examples/images/create-new-view-for-output.png b/docs/source/examples/images/create-new-view-for-output.png new file mode 100644 index 0000000000000000000000000000000000000000..cac58459c58ce312a2fe50eb36e97d940ce7588b GIT binary patch literal 46711 zcmce;bx>YSmoJL*;O-DKxCVE3m*5cG-QC>@?iSqL-GaM&(BSTJAKq`y%y(|hnL2;m zx>NxL-MhQlz4!XbT1~iuoHzn3E-VNL2!f=9h!O}0s5bEP761kOjlD)vHSimRqmZNu z0QlhrFbV?!Ap(&U5ma&0JE$a6brmrw1DwK2&y8Pu)oq%AJE|hqI_#m>sUr`&o4oBz(Gw8 zCbHd5k~@vcyc8wA7`|@@i~2W!Xc5nneN&*=oo1%m->G#wjtZ-M5F3L`cd*L4mzD@? zoKS_oIT^|cdUCkxnQn(cVQ+N(z`6fQ%+t<9jOP3;v^;XgSj`$ggC@Eauj7i16yR;0 zqqp{+W=22uGOu~CLAvZwiFuH{31V5Pt#`b7^tQ(K`dE*rgdyr&Px@9fvWcRLQW}?# zEN*DXU7@~Ah;Y69Y?Syy3f?=cYIrx3f$TB?U6NOSrbPSENU(RU_RAHxVJawKv$A4_ zcjGUqdfhl;p~XZNZ@S z_UiT`crU||5M8qKp5V#@Oym8HgyT5FcUE@6V4!|micCKU3X0Sw^@UH6s>@# z%wO1-bA)>Bl{g;hciXybYqrAVUtwM=3=mbm`S*8;nx$khxP@ z|F!XX-%-H=20*Mfy)Z(Qiv?#a>E2s@bWORFQMc4tBh0AsftWIM&;@bduOe1(AuId} zD=aoaFZ-b)$V>`e!rv0)C|?JAI@v=&;dy%F30JC#tDrhP9H6YWvwJqy=~cbaH{l3( zvmXezT0Qd%%Y^H+FK5%=&h;o{xIJa(cYnYcI#0wV8Yqc^JIv)ys|{U%=0yMX$Xtz; z18=5!El%FZKKsv~CEG$H=*kp0JDZCm>MkT8@!?H=pAMzUD(jM*vL0+qu_V{_+54)M&i)&n}R0Hd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P-lqrvC}5yWyPCUi{DQx z(49(G-8kF3E>%x7^`x@)CR(o;eq@!=P-Q8Rtq*I?4x=sMG`)+u$#AKDjg_)dpgki# zAK#xHIMf<-tBfw2GP)=Zw=j1EMqOByD75>GC3~L=JdRq0e=Bg;f*~Lv8W@^J51)3? za^lCGkiI4*D4y=n@kw6Vk~HYKllP}pS!NXJ><*gr#v(1)@j>UW9q0GdaCMNKoZeve zv3<~AQ&j)vO)B_cp_goTr$WoYpdhDNgt4-+Wh@hw9t|zv+4PxEZFvQ_CVv`s|J&Kz zRwp){II>EQ8Gk3C?>R3$-n8jSv}T6Wo_yAr+2ZEd7K zGqYnWm@oVm^^R(kfO41to!cc-&F;UUvgS5W3kZtIXHpjNYU`iZ&LaWAu+$J2pDI75M%zs{%RB)w1u%S)i~nVLu`b z{wdC~UIie9-%Bk5Ld`&X9DIWkX7EZ>X&}az3k9n-4w>>&IQ~RexjSQL?H`V0f)>dZ zBXa}zx_S$Gv}31(P%3n5~mMf|4QF%q|Lm&~ek zN7u*(|86n-9t>ZN#{8)WBJuf< Date: Wed, 1 Apr 2020 19:12:57 +0200 Subject: [PATCH 10/16] regenerate spec --- .../schema/jupyterwidgetmodels.latest.json | 200 ++ packages/schema/jupyterwidgetmodels.latest.md | 2303 ++++++++--------- 2 files changed, 1215 insertions(+), 1288 deletions(-) diff --git a/packages/schema/jupyterwidgetmodels.latest.json b/packages/schema/jupyterwidgetmodels.latest.json index 0169099d31..29ebe00eb3 100644 --- a/packages/schema/jupyterwidgetmodels.latest.json +++ b/packages/schema/jupyterwidgetmodels.latest.json @@ -2532,6 +2532,206 @@ "version": "2.0.0" } }, + { + "attributes": [ + { + "default": [], + "help": "CSS classes applied to widget DOM element", + "items": { + "type": "string" + }, + "name": "_dom_classes", + "type": "array" + }, + { + "default": "@jupyter-widgets/controls", + "help": "", + "name": "_model_module", + "type": "string" + }, + { + "default": "2.0.0", + "help": "", + "name": "_model_module_version", + "type": "string" + }, + { + "default": "DraggableBoxModel", + "help": "", + "name": "_model_name", + "type": "string" + }, + { + "default": "@jupyter-widgets/controls", + "help": "", + "name": "_view_module", + "type": "string" + }, + { + "default": "2.0.0", + "help": "", + "name": "_view_module_version", + "type": "string" + }, + { + "default": "DraggableBoxView", + "help": "", + "name": "_view_name", + "type": "string" + }, + { + "allow_none": true, + "default": "reference to new instance", + "help": "", + "name": "child", + "type": "reference", + "widget": "Widget" + }, + { + "default": {}, + "help": "", + "name": "drag_data", + "type": "object" + }, + { + "default": true, + "help": "", + "name": "draggable", + "type": "bool" + }, + { + "default": "reference to new instance", + "help": "", + "name": "layout", + "type": "reference", + "widget": "Layout" + }, + { + "allow_none": true, + "default": null, + "help": "Is widget tabbable?", + "name": "tabbable", + "type": "bool" + }, + { + "allow_none": true, + "default": null, + "help": "A tooltip caption.", + "name": "tooltip", + "type": "string" + } + ], + "model": { + "module": "@jupyter-widgets/controls", + "name": "DraggableBoxModel", + "version": "2.0.0" + }, + "view": { + "module": "@jupyter-widgets/controls", + "name": "DraggableBoxView", + "version": "2.0.0" + } + }, + { + "attributes": [ + { + "default": [], + "help": "CSS classes applied to widget DOM element", + "items": { + "type": "string" + }, + "name": "_dom_classes", + "type": "array" + }, + { + "default": "@jupyter-widgets/controls", + "help": "", + "name": "_model_module", + "type": "string" + }, + { + "default": "2.0.0", + "help": "", + "name": "_model_module_version", + "type": "string" + }, + { + "default": "DropBoxModel", + "help": "", + "name": "_model_name", + "type": "string" + }, + { + "default": "@jupyter-widgets/controls", + "help": "", + "name": "_view_module", + "type": "string" + }, + { + "default": "2.0.0", + "help": "", + "name": "_view_module_version", + "type": "string" + }, + { + "default": "DropBoxView", + "help": "", + "name": "_view_name", + "type": "string" + }, + { + "allow_none": true, + "default": "reference to new instance", + "help": "", + "name": "child", + "type": "reference", + "widget": "Widget" + }, + { + "default": {}, + "help": "", + "name": "drag_data", + "type": "object" + }, + { + "default": false, + "help": "", + "name": "draggable", + "type": "bool" + }, + { + "default": "reference to new instance", + "help": "", + "name": "layout", + "type": "reference", + "widget": "Layout" + }, + { + "allow_none": true, + "default": null, + "help": "Is widget tabbable?", + "name": "tabbable", + "type": "bool" + }, + { + "allow_none": true, + "default": null, + "help": "A tooltip caption.", + "name": "tooltip", + "type": "string" + } + ], + "model": { + "module": "@jupyter-widgets/controls", + "name": "DropBoxModel", + "version": "2.0.0" + }, + "view": { + "module": "@jupyter-widgets/controls", + "name": "DropBoxView", + "version": "2.0.0" + } + }, { "attributes": [ { diff --git a/packages/schema/jupyterwidgetmodels.latest.md b/packages/schema/jupyterwidgetmodels.latest.md index 436023a476..8540d05cdd 100644 --- a/packages/schema/jupyterwidgetmodels.latest.md +++ b/packages/schema/jupyterwidgetmodels.latest.md @@ -6,7 +6,8 @@ widget is using. A reference to a widget is serialized to JSON as a string of the form `"IPY_MODEL_"`, where `` is the model ID of a previously created widget of the specified type. -This model specification is for ipywidgets 8. +This model specification is for ipywidgets 7.4.*, @jupyter-widgets/base 1.1.*, +and @jupyter-widgets/controls 1.4.*. ## Model attributes @@ -14,1454 +15,1180 @@ Each widget in the Jupyter core widgets is represented below. The heading represents the model name, module, and version, view name, module, and version that the widget is registered with. + ### LayoutModel (@jupyter-widgets/base, 2.0.0); LayoutView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ---------------------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/base'` | The namespace for the model. | -| `_model_module_version` | string | `'2.0.0'` | A semver requirement for namespace version containing the model. | -| `_model_name` | string | `'LayoutModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'LayoutView'` | -| `align_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'space-evenly'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-content CSS attribute. | -| `align_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-items CSS attribute. | -| `align_self` | `null` or string (one of `'auto'`, `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-self CSS attribute. | -| `border_bottom` | `null` or string | `null` | The border bottom CSS attribute. | -| `border_left` | `null` or string | `null` | The border left CSS attribute. | -| `border_right` | `null` or string | `null` | The border right CSS attribute. | -| `border_top` | `null` or string | `null` | The border top CSS attribute. | -| `bottom` | `null` or string | `null` | The bottom CSS attribute. | -| `display` | `null` or string | `null` | The display CSS attribute. | -| `flex` | `null` or string | `null` | The flex CSS attribute. | -| `flex_flow` | `null` or string | `null` | The flex-flow CSS attribute. | -| `grid_area` | `null` or string | `null` | The grid-area CSS attribute. | -| `grid_auto_columns` | `null` or string | `null` | The grid-auto-columns CSS attribute. | -| `grid_auto_flow` | `null` or string (one of `'column'`, `'row'`, `'row dense'`, `'column dense'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The grid-auto-flow CSS attribute. | -| `grid_auto_rows` | `null` or string | `null` | The grid-auto-rows CSS attribute. | -| `grid_column` | `null` or string | `null` | The grid-column CSS attribute. | -| `grid_gap` | `null` or string | `null` | The grid-gap CSS attribute. | -| `grid_row` | `null` or string | `null` | The grid-row CSS attribute. | -| `grid_template_areas` | `null` or string | `null` | The grid-template-areas CSS attribute. | -| `grid_template_columns` | `null` or string | `null` | The grid-template-columns CSS attribute. | -| `grid_template_rows` | `null` or string | `null` | The grid-template-rows CSS attribute. | -| `height` | `null` or string | `null` | The height CSS attribute. | -| `justify_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-content CSS attribute. | -| `justify_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-items CSS attribute. | -| `left` | `null` or string | `null` | The left CSS attribute. | -| `margin` | `null` or string | `null` | The margin CSS attribute. | -| `max_height` | `null` or string | `null` | The max-height CSS attribute. | -| `max_width` | `null` or string | `null` | The max-width CSS attribute. | -| `min_height` | `null` or string | `null` | The min-height CSS attribute. | -| `min_width` | `null` or string | `null` | The min-width CSS attribute. | -| `object_fit` | `null` or string (one of `'contain'`, `'cover'`, `'fill'`, `'scale-down'`, `'none'`) | `null` | The object-fit CSS attribute. | -| `object_position` | `null` or string | `null` | The object-position CSS attribute. | -| `order` | `null` or string | `null` | The order CSS attribute. | -| `overflow` | `null` or string | `null` | The overflow CSS attribute. | -| `padding` | `null` or string | `null` | The padding CSS attribute. | -| `right` | `null` or string | `null` | The right CSS attribute. | -| `top` | `null` or string | `null` | The top CSS attribute. | -| `visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. | -| `width` | `null` or string | `null` | The width CSS attribute. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/base'` | The namespace for the model. +`_model_module_version` | string | `'2.0.0'` | A semver requirement for namespace version containing the model. +`_model_name` | string | `'LayoutModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'LayoutView'` | +`align_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'space-evenly'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-content CSS attribute. +`align_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-items CSS attribute. +`align_self` | `null` or string (one of `'auto'`, `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-self CSS attribute. +`border` | `null` or string | `null` | The border CSS attribute. +`bottom` | `null` or string | `null` | The bottom CSS attribute. +`display` | `null` or string | `null` | The display CSS attribute. +`flex` | `null` or string | `null` | The flex CSS attribute. +`flex_flow` | `null` or string | `null` | The flex-flow CSS attribute. +`grid_area` | `null` or string | `null` | The grid-area CSS attribute. +`grid_auto_columns` | `null` or string | `null` | The grid-auto-columns CSS attribute. +`grid_auto_flow` | `null` or string (one of `'column'`, `'row'`, `'row dense'`, `'column dense'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The grid-auto-flow CSS attribute. +`grid_auto_rows` | `null` or string | `null` | The grid-auto-rows CSS attribute. +`grid_column` | `null` or string | `null` | The grid-column CSS attribute. +`grid_gap` | `null` or string | `null` | The grid-gap CSS attribute. +`grid_row` | `null` or string | `null` | The grid-row CSS attribute. +`grid_template_areas` | `null` or string | `null` | The grid-template-areas CSS attribute. +`grid_template_columns` | `null` or string | `null` | The grid-template-columns CSS attribute. +`grid_template_rows` | `null` or string | `null` | The grid-template-rows CSS attribute. +`height` | `null` or string | `null` | The height CSS attribute. +`justify_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-content CSS attribute. +`justify_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-items CSS attribute. +`left` | `null` or string | `null` | The left CSS attribute. +`margin` | `null` or string | `null` | The margin CSS attribute. +`max_height` | `null` or string | `null` | The max-height CSS attribute. +`max_width` | `null` or string | `null` | The max-width CSS attribute. +`min_height` | `null` or string | `null` | The min-height CSS attribute. +`min_width` | `null` or string | `null` | The min-width CSS attribute. +`object_fit` | `null` or string (one of `'contain'`, `'cover'`, `'fill'`, `'scale-down'`, `'none'`) | `null` | The object-fit CSS attribute. +`object_position` | `null` or string | `null` | The object-position CSS attribute. +`order` | `null` or string | `null` | The order CSS attribute. +`overflow` | `null` or string | `null` | The overflow CSS attribute. +`padding` | `null` or string | `null` | The padding CSS attribute. +`right` | `null` or string | `null` | The right CSS attribute. +`top` | `null` or string | `null` | The top CSS attribute. +`visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. +`width` | `null` or string | `null` | The width CSS attribute. ### AccordionModel (@jupyter-widgets/controls, 2.0.0); AccordionView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'AccordionModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'AccordionView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `titles` | array of string | `[]` | Titles of the pages | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'AccordionModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'AccordionView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`titles` | array of string | `[]` | Titles of the pages +`tooltip` | `null` or string | `null` | A tooltip caption. ### AudioModel (@jupyter-widgets/controls, 2.0.0); AudioView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'AudioModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'AudioView'` | -| `autoplay` | boolean | `true` | When true, the audio starts when it's displayed | -| `controls` | boolean | `true` | Specifies that audio controls should be displayed (such as a play/pause button etc) | -| `format` | string | `'mp3'` | The format of the audio. | -| `layout` | reference to Layout widget | reference to new instance | -| `loop` | boolean | `true` | When true, the audio will start from the beginning after finishing | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | Bytes | `b''` | The media data as a memory view of bytes. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'AudioModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'AudioView'` | +`autoplay` | boolean | `true` | When true, the audio starts when it's displayed +`controls` | boolean | `true` | Specifies that audio controls should be displayed (such as a play/pause button etc) +`format` | string | `'mp3'` | The format of the audio. +`layout` | reference to Layout widget | reference to new instance | +`loop` | boolean | `true` | When true, the audio will start from the beginning after finishing +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | Bytes | `b''` | The media data as a memory view of bytes. ### BoundedFloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'BoundedFloatTextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatTextView'` | -| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `100.0` | Max value | -| `min` | number (float) | `0.0` | Min value | -| `step` | `null` or number (float) | `null` | Minimum step to increment the value | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | Float value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'BoundedFloatTextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatTextView'` | +`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `100.0` | Max value +`min` | number (float) | `0.0` | Min value +`step` | `null` or number (float) | `null` | Minimum step to increment the value +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | Float value ### BoundedIntTextModel (@jupyter-widgets/controls, 2.0.0); IntTextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'BoundedIntTextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntTextView'` | -| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `step` | number (integer) | `1` | Minimum step to increment the value | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'BoundedIntTextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntTextView'` | +`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`step` | number (integer) | `1` | Minimum step to increment the value +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### BoxModel (@jupyter-widgets/controls, 2.0.0); BoxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'BoxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'BoxView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'BoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'BoxView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### ButtonModel (@jupyter-widgets/controls, 2.0.0); ButtonView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | --------------------------------------------------------------------------------- | ----------------------------- | -------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ButtonModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ButtonView'` | -| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | -| `description` | string | `''` | Button label. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `icon` | string | `''` | Font-awesome icon names, without the 'fa-' prefix. | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to ButtonStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ButtonModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ButtonView'` | +`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. +`description` | string | `''` | Button label. +`disabled` | boolean | `false` | Enable or disable user changes. +`icon` | string | `''` | Font-awesome icon names, without the 'fa-' prefix. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to ButtonStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### ButtonStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ButtonStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `button_color` | `null` or string | `null` | Color of the button | -| `font_family` | `null` or string | `null` | Button text font family. | -| `font_size` | `null` or string | `null` | Button text font size. | -| `font_style` | `null` or string | `null` | Button text font style. | -| `font_variant` | `null` or string | `null` | Button text font variant. | -| `font_weight` | `null` or string | `null` | Button text font weight. | -| `text_color` | `null` or string | `null` | Button text color. | -| `text_decoration` | `null` or string | `null` | Button text decoration. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ButtonStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`button_color` | `null` or string | `null` | Color of the button +`font_weight` | string | `''` | Button text font weight. ### CheckboxModel (@jupyter-widgets/controls, 2.0.0); CheckboxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------- | ----------------------------- | ------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'CheckboxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'CheckboxView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `indent` | boolean | `true` | Indent the control to align with other controls with a description. | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to CheckboxStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | boolean | `false` | Bool value | - -### CheckboxStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) - -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'CheckboxStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'CheckboxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'CheckboxView'` | +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes. +`indent` | boolean | `true` | Indent the control to align with other controls with a description. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | boolean | `false` | Bool value ### ColorPickerModel (@jupyter-widgets/controls, 2.0.0); ColorPickerView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ColorPickerModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ColorPickerView'` | -| `concise` | boolean | `false` | Display short version with just a color selector. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `'black'` | The color value. | - -### ColorsInputModel (@jupyter-widgets/controls, 2.0.0); ColorsInputView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ColorsInputModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ColorsInputView'` | -| `allow_duplicates` | boolean | `true` | -| `allowed_tags` | array | `[]` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[]` | List of string tags | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ColorPickerModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ColorPickerView'` | +`concise` | boolean | `false` | Display short version with just a color selector. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `'black'` | The color value. ### ComboboxModel (@jupyter-widgets/controls, 2.0.0); ComboboxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ComboboxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ComboboxView'` | -| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `ensure_option` | boolean | `false` | If set, ensure value is in options. Implies continuous_update=False. | -| `layout` | reference to Layout widget | reference to new instance | -| `options` | array of string | `[]` | Dropdown options for the combobox | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to TextStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ComboboxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ComboboxView'` | +`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`ensure_option` | boolean | `false` | If set, ensure value is in options. Implies continuous_update=False. +`layout` | reference to Layout widget | reference to new instance | +`options` | array of string | `[]` | Dropdown options for the combobox +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### ControllerAxisModel (@jupyter-widgets/controls, 2.0.0); ControllerAxisView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ControllerAxisModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ControllerAxisView'` | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | The value of the axis. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ControllerAxisModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ControllerAxisView'` | +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | The value of the axis. ### ControllerButtonModel (@jupyter-widgets/controls, 2.0.0); ControllerButtonView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ControllerButtonModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ControllerButtonView'` | -| `layout` | reference to Layout widget | reference to new instance | -| `pressed` | boolean | `false` | Whether the button is pressed. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | The value of the button. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ControllerButtonModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ControllerButtonView'` | +`layout` | reference to Layout widget | reference to new instance | +`pressed` | boolean | `false` | Whether the button is pressed. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | The value of the button. ### ControllerModel (@jupyter-widgets/controls, 2.0.0); ControllerView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ----------------------------------- | ----------------------------- | ----------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ControllerModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ControllerView'` | -| `axes` | array of reference to Axis widget | `[]` | The axes on the gamepad. | -| `buttons` | array of reference to Button widget | `[]` | The buttons on the gamepad. | -| `connected` | boolean | `false` | Whether the gamepad is connected. | -| `index` | number (integer) | `0` | The id number of the controller. | -| `layout` | reference to Layout widget | reference to new instance | -| `mapping` | string | `''` | The name of the control mapping. | -| `name` | string | `''` | The name of the controller. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ControllerModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ControllerView'` | +`axes` | array of reference to Axis widget | `[]` | The axes on the gamepad. +`buttons` | array of reference to Button widget | `[]` | The buttons on the gamepad. +`connected` | boolean | `false` | Whether the gamepad is connected. +`index` | number (integer) | `0` | The id number of the controller. +`layout` | reference to Layout widget | reference to new instance | +`mapping` | string | `''` | The name of the control mapping. +`name` | string | `''` | The name of the controller. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. +`tooltip` | `null` or string | `null` | A tooltip caption. ### DOMWidgetModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DOMWidgetModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | `null` or string | `null` | Name of the view. | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | Bytes | `b''` | The media data as a memory view of bytes. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DOMWidgetModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | `null` or string | `null` | Name of the view. +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | Bytes | `b''` | The media data as a memory view of bytes. ### DatePickerModel (@jupyter-widgets/controls, 2.0.0); DatePickerView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------- | ----------------------------- | ------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DatePickerModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'DatePickerView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or Date | `null` | -| `min` | `null` or Date | `null` | -| `step` | number (integer) or string (one of `'any'`) | `1` | The date step to use for the picker, in days, or "any". | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | `null` or Date | `null` | - -### DatetimeModel (@jupyter-widgets/controls, 2.0.0); DatetimeView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DatetimeModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'DatetimeView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or Datetime | `null` | -| `min` | `null` or Datetime | `null` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | `null` or Datetime | `null` | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DatePickerModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DatePickerView'` | +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | `null` or Date | `null` | ### DescriptionStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ------ | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DescriptionStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `description_width` | string | `''` | Width of the description to the side of the control. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DescriptionStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`description_width` | string | `''` | Width of the description to the side of the control. ### DirectionalLinkModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | -------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DirectionalLinkModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | `null` or string | `null` | Name of the view. | -| `source` | array | `[]` | The source (widget, 'trait_name') pair | -| `target` | array | `[]` | The target (widget, 'trait_name') pair | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DirectionalLinkModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | `null` or string | `null` | Name of the view. +`source` | array | `[]` | The source (widget, 'trait_name') pair +`target` | array | `[]` | The target (widget, 'trait_name') pair + +### DraggableBoxModel (@jupyter-widgets/controls, 2.0.0); DraggableBoxView (@jupyter-widgets/controls, 2.0.0) + +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DraggableBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DraggableBoxView'` | +`child` | `null` or reference to Widget widget | reference to new instance | +`drag_data` | object | `{}` | +`draggable` | boolean | `true` | +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. + +### DropBoxModel (@jupyter-widgets/controls, 2.0.0); DropBoxView (@jupyter-widgets/controls, 2.0.0) + +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DropBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DropBoxView'` | +`child` | `null` or reference to Widget widget | reference to new instance | +`drag_data` | object | `{}` | +`draggable` | boolean | `false` | +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### DropdownModel (@jupyter-widgets/controls, 2.0.0); DropdownView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DropdownModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'DropdownView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | `null` or number (integer) | `null` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DropdownModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DropdownView'` | +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | `null` or number (integer) | `null` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### FileUploadModel (@jupyter-widgets/controls, 2.0.0); FileUploadView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FileUploadModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FileUploadView'` | -| `accept` | string | `''` | File types to accept, empty string for all | -| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable button | -| `error` | string | `''` | Error message | -| `icon` | string | `'upload'` | Font-awesome icon name, without the 'fa-' prefix. | -| `layout` | reference to Layout widget | reference to new instance | -| `multiple` | boolean | `false` | If True, allow for multiple files upload | -| `style` | reference to ButtonStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array of object | `[]` | The file upload value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FileUploadModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FileUploadView'` | +`accept` | string | `''` | File types to accept, empty string for all +`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable button +`error` | string | `''` | Error message +`icon` | string | `'upload'` | Font-awesome icon name, without the 'fa-' prefix. +`layout` | reference to Layout widget | reference to new instance | +`multiple` | boolean | `false` | If True, allow for multiple files upload +`style` | reference to ButtonStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array of object | `[]` | The file upload value ### FloatLogSliderModel (@jupyter-widgets/controls, 2.0.0); FloatLogSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatLogSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatLogSliderView'` | -| `base` | number (float) | `10.0` | Base for the logarithm | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `4.0` | Max value for the exponent | -| `min` | number (float) | `0.0` | Min value for the exponent | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'.3g'` | Format for the readout | -| `step` | `null` or number (float) | `0.1` | Minimum step in the exponent to increment the value | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `1.0` | Float value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatLogSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatLogSliderView'` | +`base` | number (float) | `10.0` | Base for the logarithm +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `4.0` | Max value for the exponent +`min` | number (float) | `0.0` | Min value for the exponent +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'.3g'` | Format for the readout +`step` | `null` or number (float) | `0.1` | Minimum step in the exponent to increment the value +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `1.0` | Float value ### FloatProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------------ | ----------------------------- | ---------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatProgressModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ProgressView'` | -| `bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `100.0` | Max value | -| `min` | number (float) | `0.0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `style` | reference to ProgressStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | Float value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatProgressModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ProgressView'` | +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`description` | string | `''` | Description of the control. +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `100.0` | Max value +`min` | number (float) | `0.0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`style` | reference to ProgressStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | Float value ### FloatRangeSliderModel (@jupyter-widgets/controls, 2.0.0); FloatRangeSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatRangeSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatRangeSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `100.0` | Max value | -| `min` | number (float) | `0.0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'.2f'` | Format for the readout | -| `step` | `null` or number (float) | `0.1` | Minimum step to increment the value | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatRangeSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatRangeSliderView'` | +`continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `100.0` | Max value +`min` | number (float) | `0.0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'.2f'` | Format for the readout +`step` | `null` or number (float) | `0.1` | Minimum step to increment the value +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds ### FloatSliderModel (@jupyter-widgets/controls, 2.0.0); FloatSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `100.0` | Max value | -| `min` | number (float) | `0.0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'.2f'` | Format for the readout | -| `step` | `null` or number (float) | `0.1` | Minimum step to increment the value | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | Float value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatSliderView'` | +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `100.0` | Max value +`min` | number (float) | `0.0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'.2f'` | Format for the readout +`step` | `null` or number (float) | `0.1` | Minimum step to increment the value +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | Float value ### FloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatTextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatTextView'` | -| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `step` | `null` or number (float) | `null` | Minimum step to increment the value | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | Float value | - -### FloatsInputModel (@jupyter-widgets/controls, 2.0.0); FloatsInputView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatsInputModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatsInputView'` | -| `allow_duplicates` | boolean | `true` | -| `allowed_tags` | array | `[]` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `format` | string | `'.1f'` | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or number (float) | `null` | -| `min` | `null` or number (float) | `null` | -| `placeholder` | string | `'\u200b'` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[]` | List of float tags | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatTextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatTextView'` | +`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`step` | `null` or number (float) | `null` | Minimum step to increment the value +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | Float value ### GridBoxModel (@jupyter-widgets/controls, 2.0.0); GridBoxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'GridBoxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'GridBoxView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'GridBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'GridBoxView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### HBoxModel (@jupyter-widgets/controls, 2.0.0); HBoxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HBoxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'HBoxView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'HBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'HBoxView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### HTMLMathModel (@jupyter-widgets/controls, 2.0.0); HTMLMathView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------- | ----------------------------- | ------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HTMLMathModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'HTMLMathView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to HTMLMathStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | - -### HTMLMathStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) - -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HTMLMathStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_size` | `null` or string | `null` | Text font size. | -| `text_color` | `null` or string | `null` | Text color | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'HTMLMathModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'HTMLMathView'` | +`description` | string | `''` | Description of the control. +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### HTMLModel (@jupyter-widgets/controls, 2.0.0); HTMLView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HTMLModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'HTMLView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to HTMLStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | - -### HTMLStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) - -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HTMLStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_size` | `null` or string | `null` | Text font size. | -| `text_color` | `null` or string | `null` | Text color | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'HTMLModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'HTMLView'` | +`description` | string | `''` | Description of the control. +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### ImageModel (@jupyter-widgets/controls, 2.0.0); ImageView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ImageModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ImageView'` | -| `format` | string | `'png'` | The format of the image. | -| `height` | string | `''` | Height of the image in pixels. Use layout.height for styling the widget. | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | Bytes | `b''` | The media data as a memory view of bytes. | -| `width` | string | `''` | Width of the image in pixels. Use layout.width for styling the widget. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ImageModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ImageView'` | +`format` | string | `'png'` | The format of the image. +`height` | string | `''` | Height of the image in pixels. Use layout.height for styling the widget. +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | Bytes | `b''` | The media data as a memory view of bytes. +`width` | string | `''` | Width of the image in pixels. Use layout.width for styling the widget. ### IntProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | -------------------------------------------------------------------- | ----------------------------- | ---------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntProgressModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ProgressView'` | -| `bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `style` | reference to ProgressStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntProgressModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ProgressView'` | +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. +`description` | string | `''` | Description of the control. +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`style` | reference to ProgressStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### IntRangeSliderModel (@jupyter-widgets/controls, 2.0.0); IntRangeSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntRangeSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntRangeSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'d'` | Format for the readout | -| `step` | number (integer) | `1` | Minimum step that the value can take | -| `style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[0, 1]` | Tuple of (lower, upper) bounds | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntRangeSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntRangeSliderView'` | +`continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'d'` | Format for the readout +`step` | number (integer) | `1` | Minimum step that the value can take +`style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array | `[0, 1]` | Tuple of (lower, upper) bounds ### IntSliderModel (@jupyter-widgets/controls, 2.0.0); IntSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'d'` | Format for the readout | -| `step` | number (integer) | `1` | Minimum step to increment the value | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntSliderView'` | +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'d'` | Format for the readout +`step` | number (integer) | `1` | Minimum step to increment the value +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### IntTextModel (@jupyter-widgets/controls, 2.0.0); IntTextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntTextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntTextView'` | -| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `step` | number (integer) | `1` | Minimum step to increment the value | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | - -### IntsInputModel (@jupyter-widgets/controls, 2.0.0); IntsInputView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntsInputModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntsInputView'` | -| `allow_duplicates` | boolean | `true` | -| `allowed_tags` | array | `[]` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `format` | string | `'d'` | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or number (integer) | `null` | -| `min` | `null` or number (integer) | `null` | -| `placeholder` | string | `'\u200b'` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[]` | List of int tags | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntTextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntTextView'` | +`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`step` | number (integer) | `1` | Minimum step to increment the value +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### LabelModel (@jupyter-widgets/controls, 2.0.0); LabelView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------ | ----------------------------- | ------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'LabelModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'LabelView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to LabelStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | - -### LabelStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) - -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'LabelStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_family` | `null` or string | `null` | Label text font family. | -| `font_size` | `null` or string | `null` | Text font size. | -| `font_style` | `null` or string | `null` | Label text font style. | -| `font_variant` | `null` or string | `null` | Label text font variant. | -| `font_weight` | `null` or string | `null` | Label text font weight. | -| `text_color` | `null` or string | `null` | Text color | -| `text_decoration` | `null` or string | `null` | Label text decoration. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'LabelModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'LabelView'` | +`description` | string | `''` | Description of the control. +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### LinkModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | -------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'LinkModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | `null` or string | `null` | Name of the view. | -| `source` | array | `[]` | The source (widget, 'trait_name') pair | -| `target` | array | `[]` | The target (widget, 'trait_name') pair | - -### NaiveDatetimeModel (@jupyter-widgets/controls, 2.0.0); DatetimeView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'NaiveDatetimeModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'DatetimeView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or Datetime | `null` | -| `min` | `null` or Datetime | `null` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | `null` or Datetime | `null` | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'LinkModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | `null` or string | `null` | Name of the view. +`source` | array | `[]` | The source (widget, 'trait_name') pair +`target` | array | `[]` | The target (widget, 'trait_name') pair ### PasswordModel (@jupyter-widgets/controls, 2.0.0); PasswordView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'PasswordModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'PasswordView'` | -| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to TextStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'PasswordModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'PasswordView'` | +`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### PlayModel (@jupyter-widgets/controls, 2.0.0); PlayView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'PlayModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'PlayView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `interval` | number (integer) | `100` | The time between two animation steps (ms). | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `playing` | boolean | `false` | Whether the control is currently playing. | -| `repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. | -| `show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. | -| `step` | number (integer) | `1` | Increment step | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'PlayModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'PlayView'` | +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`interval` | number (integer) | `100` | The time between two animation steps (ms). +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`playing` | boolean | `false` | Whether the control is currently playing. +`repeat` | boolean | `false` | Whether the control will repeat in a continous loop. +`show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. +`step` | number (integer) | `1` | Increment step +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### ProgressStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ProgressStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `bar_color` | `null` or string | `null` | Color of the progress bar. | -| `description_width` | string | `''` | Width of the description to the side of the control. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ProgressStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`bar_color` | `null` or string | `null` | Color of the progress bar. +`description_width` | string | `''` | Width of the description to the side of the control. ### RadioButtonsModel (@jupyter-widgets/controls, 2.0.0); RadioButtonsView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'RadioButtonsModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'RadioButtonsView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | `null` or number (integer) | `null` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'RadioButtonsModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'RadioButtonsView'` | +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | `null` or number (integer) | `null` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SelectModel (@jupyter-widgets/controls, 2.0.0); SelectView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SelectModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'SelectView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | `null` or number (integer) | `null` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `rows` | number (integer) | `5` | The number of rows to display. | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SelectModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'SelectView'` | +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | `null` or number (integer) | `null` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`rows` | number (integer) | `5` | The number of rows to display. +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SelectMultipleModel (@jupyter-widgets/controls, 2.0.0); SelectMultipleView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SelectMultipleModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'SelectMultipleView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | array of number (integer) | `[]` | Selected indices | -| `layout` | reference to Layout widget | reference to new instance | -| `rows` | number (integer) | `5` | The number of rows to display. | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SelectMultipleModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'SelectMultipleView'` | +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | array of number (integer) | `[]` | Selected indices +`layout` | reference to Layout widget | reference to new instance | +`rows` | number (integer) | `5` | The number of rows to display. +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SelectionRangeSliderModel (@jupyter-widgets/controls, 2.0.0); SelectionRangeSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SelectionRangeSliderModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'SelectionRangeSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | array | `[0, 0]` | Min and max selected indices | -| `layout` | reference to Layout widget | reference to new instance | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current selected label next to the slider | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SelectionRangeSliderModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'SelectionRangeSliderView'` | +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | array | `[0, 0]` | Min and max selected indices +`layout` | reference to Layout widget | reference to new instance | +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current selected label next to the slider +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SelectionSliderModel (@jupyter-widgets/controls, 2.0.0); SelectionSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SelectionSliderModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'SelectionSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | number (integer) | `0` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current selected label next to the slider | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SelectionSliderModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'SelectionSliderView'` | +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | number (integer) | `0` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current selected label next to the slider +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SliderStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SliderStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `handle_color` | `null` or string | `null` | Color of the slider handle. | - -### StackModel (@jupyter-widgets/controls, 2.0.0); StackView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'StackModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StackView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `titles` | array of string | `[]` | Titles of the pages | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SliderStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`description_width` | string | `''` | Width of the description to the side of the control. +`handle_color` | `null` or string | `null` | Color of the slider handle. + +### StackedModel (@jupyter-widgets/controls, 2.0.0); StackedView (@jupyter-widgets/controls, 2.0.0) + +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'StackedModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StackedView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`titles` | array of string | `[]` | Titles of the pages +`tooltip` | `null` or string | `null` | A tooltip caption. ### TabModel (@jupyter-widgets/controls, 2.0.0); TabView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TabModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TabView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `titles` | array of string | `[]` | Titles of the pages | -| `tooltip` | `null` or string | `null` | A tooltip caption. | - -### TagsInputModel (@jupyter-widgets/controls, 2.0.0); TagsInputView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TagsInputModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TagsInputView'` | -| `allow_duplicates` | boolean | `true` | -| `allowed_tags` | array | `[]` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[]` | List of string tags | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TabModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'TabView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`titles` | array of string | `[]` | Titles of the pages +`tooltip` | `null` or string | `null` | A tooltip caption. ### TextModel (@jupyter-widgets/controls, 2.0.0); TextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TextView'` | -| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to TextStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | - -### TextStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) - -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TextStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_size` | `null` or string | `null` | Text font size. | -| `text_color` | `null` or string | `null` | Text color | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'TextView'` | +`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### TextareaModel (@jupyter-widgets/controls, 2.0.0); TextareaView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TextareaModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TextareaView'` | -| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `rows` | `null` or number (integer) | `null` | The number of rows to display. | -| `style` | reference to TextStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | - -### TimeModel (@jupyter-widgets/controls, 2.0.0); TimeView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------------------- | ----------------------------- | ---------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TimeModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TimeView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or Time | `null` | -| `min` | `null` or Time | `null` | -| `step` | number (float) or string (one of `'any'`) | `60` | The time step to use for the picker, in seconds, or "any". | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | `null` or Time | `null` | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TextareaModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'TextareaView'` | +`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`rows` | `null` or number (integer) | `null` | The number of rows to display. +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### ToggleButtonModel (@jupyter-widgets/controls, 2.0.0); ToggleButtonView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ToggleButtonModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ToggleButtonView'` | -| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `icon` | string | `''` | Font-awesome icon. | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to ToggleButtonStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | boolean | `false` | Bool value | - -### ToggleButtonStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) - -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ToggleButtonStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_family` | `null` or string | `null` | Toggle button text font family. | -| `font_size` | `null` or string | `null` | Toggle button text font size. | -| `font_style` | `null` or string | `null` | Toggle button text font style. | -| `font_variant` | `null` or string | `null` | Toggle button text font variant. | -| `font_weight` | `null` or string | `null` | Toggle button text font weight. | -| `text_color` | `null` or string | `null` | Toggle button text color | -| `text_decoration` | `null` or string | `null` | Toggle button text decoration. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ToggleButtonModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ToggleButtonView'` | +`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes. +`icon` | string | `''` | Font-awesome icon. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | boolean | `false` | Bool value ### ToggleButtonsModel (@jupyter-widgets/controls, 2.0.0); ToggleButtonsView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ToggleButtonsModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ToggleButtonsView'` | -| `button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `icons` | array of string | `[]` | Icons names for each button (FontAwesome names without the fa- prefix). | -| `index` | `null` or number (integer) | `null` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to ToggleButtonsStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `tooltips` | array of string | `[]` | Tooltips for each button. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ToggleButtonsModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ToggleButtonsView'` | +`button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes +`icons` | array of string | `[]` | Icons names for each button (FontAwesome names without the fa- prefix). +`index` | `null` or number (integer) | `null` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to ToggleButtonsStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`tooltips` | array of string | `[]` | Tooltips for each button. ### ToggleButtonsStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ------ | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ToggleButtonsStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `button_width` | string | `''` | The width of each button. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_weight` | string | `''` | Text font weight of each button. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ToggleButtonsStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`button_width` | string | `''` | The width of each button. +`description_width` | string | `''` | Width of the description to the side of the control. +`font_weight` | string | `''` | Text font weight of each button. ### VBoxModel (@jupyter-widgets/controls, 2.0.0); VBoxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'VBoxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'VBoxView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'VBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'VBoxView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### ValidModel (@jupyter-widgets/controls, 2.0.0); ValidView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ValidModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ValidView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `readout` | string | `'Invalid'` | Message displayed when the value is False | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | boolean | `false` | Bool value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ValidModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ValidView'` | +`description` | string | `''` | Description of the control. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`readout` | string | `'Invalid'` | Message displayed when the value is False +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | boolean | `false` | Bool value ### VideoModel (@jupyter-widgets/controls, 2.0.0); VideoView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'VideoModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'VideoView'` | -| `autoplay` | boolean | `true` | When true, the video starts when it's displayed | -| `controls` | boolean | `true` | Specifies that video controls should be displayed (such as a play/pause button etc) | -| `format` | string | `'mp4'` | The format of the video. | -| `height` | string | `''` | Height of the video in pixels. | -| `layout` | reference to Layout widget | reference to new instance | -| `loop` | boolean | `true` | When true, the video will start from the beginning after finishing | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | Bytes | `b''` | The media data as a memory view of bytes. | -| `width` | string | `''` | Width of the video in pixels. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'VideoModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'VideoView'` | +`autoplay` | boolean | `true` | When true, the video starts when it's displayed +`controls` | boolean | `true` | Specifies that video controls should be displayed (such as a play/pause button etc) +`format` | string | `'mp4'` | The format of the video. +`height` | string | `''` | Height of the video in pixels. +`layout` | reference to Layout widget | reference to new instance | +`loop` | boolean | `true` | When true, the video will start from the beginning after finishing +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | Bytes | `b''` | The media data as a memory view of bytes. +`width` | string | `''` | Width of the video in pixels. ### OutputModel (@jupyter-widgets/output, 1.0.0); OutputView (@jupyter-widgets/output, 1.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | --------------------------- | --------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/output'` | -| `_model_module_version` | string | `'1.0.0'` | -| `_model_name` | string | `'OutputModel'` | -| `_view_module` | string | `'@jupyter-widgets/output'` | -| `_view_module_version` | string | `'1.0.0'` | -| `_view_name` | string | `'OutputView'` | -| `layout` | reference to Layout widget | reference to new instance | -| `msg_id` | string | `''` | Parent message id of messages to capture | -| `outputs` | array of object | `[]` | The output messages synced from the frontend. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/output'` | +`_model_module_version` | string | `'1.0.0'` | +`_model_name` | string | `'OutputModel'` | +`_view_module` | string | `'@jupyter-widgets/output'` | +`_view_module_version` | string | `'1.0.0'` | +`_view_name` | string | `'OutputView'` | +`layout` | reference to Layout widget | reference to new instance | +`msg_id` | string | `''` | Parent message id of messages to capture +`outputs` | array of object | `[]` | The output messages synced from the frontend. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. + From 4c37be7d493c8ea1917caffe53fc8b50e37bb736 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Wed, 1 Apr 2020 19:27:37 +0200 Subject: [PATCH 11/16] fix set_title --- docs/source/examples/Drag and Drop.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/examples/Drag and Drop.ipynb b/docs/source/examples/Drag and Drop.ipynb index b3fbd0c66b..1134d3d971 100644 --- a/docs/source/examples/Drag and Drop.ipynb +++ b/docs/source/examples/Drag and Drop.ipynb @@ -683,8 +683,7 @@ "children = [Text(description=name) for name in tab_contents]\n", "tab = Tab()\n", "tab.children = children\n", - "for i in range(len(children)):\n", - " tab.set_title(i, str(i))\n", + "tab.titles = [str(i) for i in range(len(children))]\n", "\n", "DraggableBox(tab, draggable=True)" ] From 12623a53b2684f2b2a1f19bf543be0d30a13412d Mon Sep 17 00:00:00 2001 From: Greg Freeman Date: Sat, 15 Jul 2023 16:52:53 -0500 Subject: [PATCH 12/16] fix errors after rebasing feature --- packages/controls/src/widget_dragdrop.ts | 20 +++++------ packages/schema/jupyterwidgetmodels.latest.md | 36 +++++++++++++++++++ 2 files changed, 46 insertions(+), 10 deletions(-) diff --git a/packages/controls/src/widget_dragdrop.ts b/packages/controls/src/widget_dragdrop.ts index 5404864b90..243c5f961c 100644 --- a/packages/controls/src/widget_dragdrop.ts +++ b/packages/controls/src/widget_dragdrop.ts @@ -49,20 +49,20 @@ class DropBoxModel extends CoreDOMWidgetModel { class DragDropBoxViewBase extends DOMWidgetView { child_view: DOMWidgetView | null; - pWidget: JupyterLuminoPanelWidget; + luminoWidget: JupyterLuminoPanelWidget; _createElement(tagName: string): HTMLElement { - this.pWidget = new JupyterLuminoPanelWidget({ view: this }); - return this.pWidget.node; + this.luminoWidget = new JupyterLuminoPanelWidget({ view: this }); + return this.luminoWidget.node; } _setElement(el: HTMLElement): void { - if (this.el || el !== this.pWidget.node) { + if (this.el || el !== this.luminoWidget.node) { // Boxes don't allow setting the element beyond the initial creation. throw new Error('Cannot reset the DOM element.'); } - this.el = this.pWidget.node; - this.$el = $(this.pWidget.node); + this.el = this.luminoWidget.node; + this.$el = $(this.luminoWidget.node); } initialize(parameters: WidgetView.IInitializeParameters): void { @@ -70,9 +70,9 @@ class DragDropBoxViewBase extends DOMWidgetView { this.add_child_model(this.model.get('child')); this.listenTo(this.model, 'change:child', this.update_child); - this.pWidget.addClass('jupyter-widgets'); - this.pWidget.addClass('widget-container'); - this.pWidget.addClass('widget-draggable-box'); + this.luminoWidget.addClass('jupyter-widgets'); + this.luminoWidget.addClass('widget-container'); + this.luminoWidget.addClass('widget-draggable-box'); } add_child_model(model: WidgetModel): Promise { @@ -80,7 +80,7 @@ class DragDropBoxViewBase extends DOMWidgetView { if (this.child_view && this.child_view !== null) { this.child_view.remove(); } - this.pWidget.addWidget(view.pWidget); + this.luminoWidget.addWidget(view.luminoWidget); this.child_view = view; return view; }).catch(reject('Could not add child view to box', true)); diff --git a/packages/schema/jupyterwidgetmodels.latest.md b/packages/schema/jupyterwidgetmodels.latest.md index 8540d05cdd..3ee822538b 100644 --- a/packages/schema/jupyterwidgetmodels.latest.md +++ b/packages/schema/jupyterwidgetmodels.latest.md @@ -412,6 +412,42 @@ Attribute | Type | Default | Help `tabbable` | `null` or boolean | `null` | Is widget tabbable? `tooltip` | `null` or string | `null` | A tooltip caption. +### DraggableBoxModel (@jupyter-widgets/controls, 2.0.0); DraggableBoxView (@jupyter-widgets/controls, 2.0.0) + +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DraggableBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DraggableBoxView'` | +`child` | `null` or reference to Widget widget | reference to new instance | +`drag_data` | object | `{}` | +`draggable` | boolean | `true` | +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. + +### DropBoxModel (@jupyter-widgets/controls, 2.0.0); DropBoxView (@jupyter-widgets/controls, 2.0.0) + +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DropBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DropBoxView'` | +`child` | `null` or reference to Widget widget | reference to new instance | +`drag_data` | object | `{}` | +`draggable` | boolean | `false` | +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. + ### DropdownModel (@jupyter-widgets/controls, 2.0.0); DropdownView (@jupyter-widgets/controls, 2.0.0) Attribute | Type | Default | Help From 1086e086e3beaebc8e7f2bdba1b700e7bf4a0d9f Mon Sep 17 00:00:00 2001 From: Greg Freeman Date: Sat, 15 Jul 2023 18:20:50 -0500 Subject: [PATCH 13/16] fix merge --- packages/schema/jupyterwidgetmodels.latest.md | 2350 +++++++++-------- 1 file changed, 1311 insertions(+), 1039 deletions(-) diff --git a/packages/schema/jupyterwidgetmodels.latest.md b/packages/schema/jupyterwidgetmodels.latest.md index 3ee822538b..5690465d5a 100644 --- a/packages/schema/jupyterwidgetmodels.latest.md +++ b/packages/schema/jupyterwidgetmodels.latest.md @@ -6,8 +6,7 @@ widget is using. A reference to a widget is serialized to JSON as a string of the form `"IPY_MODEL_"`, where `` is the model ID of a previously created widget of the specified type. -This model specification is for ipywidgets 7.4.*, @jupyter-widgets/base 1.1.*, -and @jupyter-widgets/controls 1.4.*. +This model specification is for ipywidgets 8. ## Model attributes @@ -15,1216 +14,1489 @@ Each widget in the Jupyter core widgets is represented below. The heading represents the model name, module, and version, view name, module, and version that the widget is registered with. - ### LayoutModel (@jupyter-widgets/base, 2.0.0); LayoutView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/base'` | The namespace for the model. -`_model_module_version` | string | `'2.0.0'` | A semver requirement for namespace version containing the model. -`_model_name` | string | `'LayoutModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'LayoutView'` | -`align_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'space-evenly'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-content CSS attribute. -`align_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-items CSS attribute. -`align_self` | `null` or string (one of `'auto'`, `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-self CSS attribute. -`border` | `null` or string | `null` | The border CSS attribute. -`bottom` | `null` or string | `null` | The bottom CSS attribute. -`display` | `null` or string | `null` | The display CSS attribute. -`flex` | `null` or string | `null` | The flex CSS attribute. -`flex_flow` | `null` or string | `null` | The flex-flow CSS attribute. -`grid_area` | `null` or string | `null` | The grid-area CSS attribute. -`grid_auto_columns` | `null` or string | `null` | The grid-auto-columns CSS attribute. -`grid_auto_flow` | `null` or string (one of `'column'`, `'row'`, `'row dense'`, `'column dense'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The grid-auto-flow CSS attribute. -`grid_auto_rows` | `null` or string | `null` | The grid-auto-rows CSS attribute. -`grid_column` | `null` or string | `null` | The grid-column CSS attribute. -`grid_gap` | `null` or string | `null` | The grid-gap CSS attribute. -`grid_row` | `null` or string | `null` | The grid-row CSS attribute. -`grid_template_areas` | `null` or string | `null` | The grid-template-areas CSS attribute. -`grid_template_columns` | `null` or string | `null` | The grid-template-columns CSS attribute. -`grid_template_rows` | `null` or string | `null` | The grid-template-rows CSS attribute. -`height` | `null` or string | `null` | The height CSS attribute. -`justify_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-content CSS attribute. -`justify_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-items CSS attribute. -`left` | `null` or string | `null` | The left CSS attribute. -`margin` | `null` or string | `null` | The margin CSS attribute. -`max_height` | `null` or string | `null` | The max-height CSS attribute. -`max_width` | `null` or string | `null` | The max-width CSS attribute. -`min_height` | `null` or string | `null` | The min-height CSS attribute. -`min_width` | `null` or string | `null` | The min-width CSS attribute. -`object_fit` | `null` or string (one of `'contain'`, `'cover'`, `'fill'`, `'scale-down'`, `'none'`) | `null` | The object-fit CSS attribute. -`object_position` | `null` or string | `null` | The object-position CSS attribute. -`order` | `null` or string | `null` | The order CSS attribute. -`overflow` | `null` or string | `null` | The overflow CSS attribute. -`padding` | `null` or string | `null` | The padding CSS attribute. -`right` | `null` or string | `null` | The right CSS attribute. -`top` | `null` or string | `null` | The top CSS attribute. -`visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. -`width` | `null` or string | `null` | The width CSS attribute. +| Attribute | Type | Default | Help | +| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ---------------------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/base'` | The namespace for the model. | +| `_model_module_version` | string | `'2.0.0'` | A semver requirement for namespace version containing the model. | +| `_model_name` | string | `'LayoutModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'LayoutView'` | +| `align_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'space-evenly'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-content CSS attribute. | +| `align_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-items CSS attribute. | +| `align_self` | `null` or string (one of `'auto'`, `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-self CSS attribute. | +| `border_bottom` | `null` or string | `null` | The border bottom CSS attribute. | +| `border_left` | `null` or string | `null` | The border left CSS attribute. | +| `border_right` | `null` or string | `null` | The border right CSS attribute. | +| `border_top` | `null` or string | `null` | The border top CSS attribute. | +| `bottom` | `null` or string | `null` | The bottom CSS attribute. | +| `display` | `null` or string | `null` | The display CSS attribute. | +| `flex` | `null` or string | `null` | The flex CSS attribute. | +| `flex_flow` | `null` or string | `null` | The flex-flow CSS attribute. | +| `grid_area` | `null` or string | `null` | The grid-area CSS attribute. | +| `grid_auto_columns` | `null` or string | `null` | The grid-auto-columns CSS attribute. | +| `grid_auto_flow` | `null` or string (one of `'column'`, `'row'`, `'row dense'`, `'column dense'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The grid-auto-flow CSS attribute. | +| `grid_auto_rows` | `null` or string | `null` | The grid-auto-rows CSS attribute. | +| `grid_column` | `null` or string | `null` | The grid-column CSS attribute. | +| `grid_gap` | `null` or string | `null` | The grid-gap CSS attribute. | +| `grid_row` | `null` or string | `null` | The grid-row CSS attribute. | +| `grid_template_areas` | `null` or string | `null` | The grid-template-areas CSS attribute. | +| `grid_template_columns` | `null` or string | `null` | The grid-template-columns CSS attribute. | +| `grid_template_rows` | `null` or string | `null` | The grid-template-rows CSS attribute. | +| `height` | `null` or string | `null` | The height CSS attribute. | +| `justify_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-content CSS attribute. | +| `justify_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-items CSS attribute. | +| `left` | `null` or string | `null` | The left CSS attribute. | +| `margin` | `null` or string | `null` | The margin CSS attribute. | +| `max_height` | `null` or string | `null` | The max-height CSS attribute. | +| `max_width` | `null` or string | `null` | The max-width CSS attribute. | +| `min_height` | `null` or string | `null` | The min-height CSS attribute. | +| `min_width` | `null` or string | `null` | The min-width CSS attribute. | +| `object_fit` | `null` or string (one of `'contain'`, `'cover'`, `'fill'`, `'scale-down'`, `'none'`) | `null` | The object-fit CSS attribute. | +| `object_position` | `null` or string | `null` | The object-position CSS attribute. | +| `order` | `null` or string | `null` | The order CSS attribute. | +| `overflow` | `null` or string | `null` | The overflow CSS attribute. | +| `padding` | `null` or string | `null` | The padding CSS attribute. | +| `right` | `null` or string | `null` | The right CSS attribute. | +| `top` | `null` or string | `null` | The top CSS attribute. | +| `visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. | +| `width` | `null` or string | `null` | The width CSS attribute. | ### AccordionModel (@jupyter-widgets/controls, 2.0.0); AccordionView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'AccordionModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'AccordionView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`titles` | array of string | `[]` | Titles of the pages -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'AccordionModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'AccordionView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `titles` | array of string | `[]` | Titles of the pages | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### AudioModel (@jupyter-widgets/controls, 2.0.0); AudioView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'AudioModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'AudioView'` | -`autoplay` | boolean | `true` | When true, the audio starts when it's displayed -`controls` | boolean | `true` | Specifies that audio controls should be displayed (such as a play/pause button etc) -`format` | string | `'mp3'` | The format of the audio. -`layout` | reference to Layout widget | reference to new instance | -`loop` | boolean | `true` | When true, the audio will start from the beginning after finishing -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | Bytes | `b''` | The media data as a memory view of bytes. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'AudioModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'AudioView'` | +| `autoplay` | boolean | `true` | When true, the audio starts when it's displayed | +| `controls` | boolean | `true` | Specifies that audio controls should be displayed (such as a play/pause button etc) | +| `format` | string | `'mp3'` | The format of the audio. | +| `layout` | reference to Layout widget | reference to new instance | +| `loop` | boolean | `true` | When true, the audio will start from the beginning after finishing | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | Bytes | `b''` | The media data as a memory view of bytes. | ### BoundedFloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'BoundedFloatTextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatTextView'` | -`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `100.0` | Max value -`min` | number (float) | `0.0` | Min value -`step` | `null` or number (float) | `null` | Minimum step to increment the value -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | Float value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'BoundedFloatTextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatTextView'` | +| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `100.0` | Max value | +| `min` | number (float) | `0.0` | Min value | +| `step` | `null` or number (float) | `null` | Minimum step to increment the value | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | Float value | ### BoundedIntTextModel (@jupyter-widgets/controls, 2.0.0); IntTextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'BoundedIntTextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntTextView'` | -`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`step` | number (integer) | `1` | Minimum step to increment the value -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'BoundedIntTextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntTextView'` | +| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `step` | number (integer) | `1` | Minimum step to increment the value | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### BoxModel (@jupyter-widgets/controls, 2.0.0); BoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'BoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'BoxView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'BoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'BoxView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### ButtonModel (@jupyter-widgets/controls, 2.0.0); ButtonView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ButtonModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ButtonView'` | -`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. -`description` | string | `''` | Button label. -`disabled` | boolean | `false` | Enable or disable user changes. -`icon` | string | `''` | Font-awesome icon names, without the 'fa-' prefix. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to ButtonStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | --------------------------------------------------------------------------------- | ----------------------------- | -------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ButtonModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ButtonView'` | +| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | +| `description` | string | `''` | Button label. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `icon` | string | `''` | Font-awesome icon names, without the 'fa-' prefix. | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to ButtonStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### ButtonStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ButtonStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`button_color` | `null` or string | `null` | Color of the button -`font_weight` | string | `''` | Button text font weight. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ButtonStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `button_color` | `null` or string | `null` | Color of the button | +| `font_family` | `null` or string | `null` | Button text font family. | +| `font_size` | `null` or string | `null` | Button text font size. | +| `font_style` | `null` or string | `null` | Button text font style. | +| `font_variant` | `null` or string | `null` | Button text font variant. | +| `font_weight` | `null` or string | `null` | Button text font weight. | +| `text_color` | `null` or string | `null` | Button text color. | +| `text_decoration` | `null` or string | `null` | Button text decoration. | ### CheckboxModel (@jupyter-widgets/controls, 2.0.0); CheckboxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'CheckboxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'CheckboxView'` | -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes. -`indent` | boolean | `true` | Indent the control to align with other controls with a description. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | boolean | `false` | Bool value +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------- | ----------------------------- | ------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'CheckboxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'CheckboxView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `indent` | boolean | `true` | Indent the control to align with other controls with a description. | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to CheckboxStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | boolean | `false` | Bool value | + +### CheckboxStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) + +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'CheckboxStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | ### ColorPickerModel (@jupyter-widgets/controls, 2.0.0); ColorPickerView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ColorPickerModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ColorPickerView'` | -`concise` | boolean | `false` | Display short version with just a color selector. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `'black'` | The color value. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ColorPickerModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ColorPickerView'` | +| `concise` | boolean | `false` | Display short version with just a color selector. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `'black'` | The color value. | + +### ColorsInputModel (@jupyter-widgets/controls, 2.0.0); ColorsInputView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ColorsInputModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ColorsInputView'` | +| `allow_duplicates` | boolean | `true` | +| `allowed_tags` | array | `[]` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[]` | List of string tags | ### ComboboxModel (@jupyter-widgets/controls, 2.0.0); ComboboxView (@jupyter-widgets/controls, 2.0.0) +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ComboboxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ComboboxView'` | +| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `ensure_option` | boolean | `false` | If set, ensure value is in options. Implies continuous_update=False. | +| `layout` | reference to Layout widget | reference to new instance | +| `options` | array of string | `[]` | Dropdown options for the combobox | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to TextStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | +### DraggableBoxModel (@jupyter-widgets/controls, 2.0.0); DraggableBoxView (@jupyter-widgets/controls, 2.0.0) + Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | `_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ComboboxModel'` | +`_model_name` | string | `'DraggableBoxModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ComboboxView'` | -`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`ensure_option` | boolean | `false` | If set, ensure value is in options. Implies continuous_update=False. +`_view_name` | string | `'DraggableBoxView'` | +`child` | `null` or reference to Widget widget | reference to new instance | +`drag_data` | object | `{}` | +`draggable` | boolean | `true` | `layout` | reference to Layout widget | reference to new instance | -`options` | array of string | `[]` | Dropdown options for the combobox -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `tabbable` | `null` or boolean | `null` | Is widget tabbable? `tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value -### ControllerAxisModel (@jupyter-widgets/controls, 2.0.0); ControllerAxisView (@jupyter-widgets/controls, 2.0.0) +### DropBoxModel (@jupyter-widgets/controls, 2.0.0); DropBoxView (@jupyter-widgets/controls, 2.0.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | `_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ControllerAxisModel'` | +`_model_name` | string | `'DropBoxModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ControllerAxisView'` | +`_view_name` | string | `'DropBoxView'` | +`child` | `null` or reference to Widget widget | reference to new instance | +`drag_data` | object | `{}` | +`draggable` | boolean | `false` | `layout` | reference to Layout widget | reference to new instance | `tabbable` | `null` or boolean | `null` | Is widget tabbable? `tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | The value of the axis. + +### ControllerAxisModel (@jupyter-widgets/controls, 2.0.0); ControllerAxisView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ControllerAxisModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ControllerAxisView'` | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | The value of the axis. | ### ControllerButtonModel (@jupyter-widgets/controls, 2.0.0); ControllerButtonView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ControllerButtonModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ControllerButtonView'` | -`layout` | reference to Layout widget | reference to new instance | -`pressed` | boolean | `false` | Whether the button is pressed. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | The value of the button. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ControllerButtonModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ControllerButtonView'` | +| `layout` | reference to Layout widget | reference to new instance | +| `pressed` | boolean | `false` | Whether the button is pressed. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | The value of the button. | ### ControllerModel (@jupyter-widgets/controls, 2.0.0); ControllerView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ControllerModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ControllerView'` | -`axes` | array of reference to Axis widget | `[]` | The axes on the gamepad. -`buttons` | array of reference to Button widget | `[]` | The buttons on the gamepad. -`connected` | boolean | `false` | Whether the gamepad is connected. -`index` | number (integer) | `0` | The id number of the controller. -`layout` | reference to Layout widget | reference to new instance | -`mapping` | string | `''` | The name of the control mapping. -`name` | string | `''` | The name of the controller. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | ----------------------------------- | ----------------------------- | ----------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ControllerModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ControllerView'` | +| `axes` | array of reference to Axis widget | `[]` | The axes on the gamepad. | +| `buttons` | array of reference to Button widget | `[]` | The buttons on the gamepad. | +| `connected` | boolean | `false` | Whether the gamepad is connected. | +| `index` | number (integer) | `0` | The id number of the controller. | +| `layout` | reference to Layout widget | reference to new instance | +| `mapping` | string | `''` | The name of the control mapping. | +| `name` | string | `''` | The name of the controller. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### DOMWidgetModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DOMWidgetModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | `null` or string | `null` | Name of the view. -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | Bytes | `b''` | The media data as a memory view of bytes. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DOMWidgetModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | `null` or string | `null` | Name of the view. | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | Bytes | `b''` | The media data as a memory view of bytes. | ### DatePickerModel (@jupyter-widgets/controls, 2.0.0); DatePickerView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DatePickerModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DatePickerView'` | -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | `null` or Date | `null` | +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------- | ----------------------------- | ------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DatePickerModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DatePickerView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or Date | `null` | +| `min` | `null` or Date | `null` | +| `step` | number (integer) or string (one of `'any'`) | `1` | The date step to use for the picker, in days, or "any". | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | `null` or Date | `null` | + +### DatetimeModel (@jupyter-widgets/controls, 2.0.0); DatetimeView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DatetimeModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DatetimeView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or Datetime | `null` | +| `min` | `null` or Datetime | `null` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | `null` or Datetime | `null` | ### DescriptionStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DescriptionStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`description_width` | string | `''` | Width of the description to the side of the control. +| Attribute | Type | Default | Help | +| ----------------------- | ------ | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DescriptionStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `description_width` | string | `''` | Width of the description to the side of the control. | ### DirectionalLinkModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DirectionalLinkModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | `null` or string | `null` | Name of the view. -`source` | array | `[]` | The source (widget, 'trait_name') pair -`target` | array | `[]` | The target (widget, 'trait_name') pair +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | -------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DirectionalLinkModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | `null` or string | `null` | Name of the view. | +| `source` | array | `[]` | The source (widget, 'trait_name') pair | +| `target` | array | `[]` | The target (widget, 'trait_name') pair | -### DraggableBoxModel (@jupyter-widgets/controls, 2.0.0); DraggableBoxView (@jupyter-widgets/controls, 2.0.0) +### DropdownModel (@jupyter-widgets/controls, 2.0.0); DropdownView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DraggableBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DraggableBoxView'` | -`child` | `null` or reference to Widget widget | reference to new instance | -`drag_data` | object | `{}` | -`draggable` | boolean | `true` | -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DropdownModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DropdownView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | `null` or number (integer) | `null` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | -### DropBoxModel (@jupyter-widgets/controls, 2.0.0); DropBoxView (@jupyter-widgets/controls, 2.0.0) +### FileUploadModel (@jupyter-widgets/controls, 2.0.0); FileUploadView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DropBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DropBoxView'` | -`child` | `null` or reference to Widget widget | reference to new instance | -`drag_data` | object | `{}` | -`draggable` | boolean | `false` | -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FileUploadModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FileUploadView'` | +| `accept` | string | `''` | File types to accept, empty string for all | +| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable button | +| `error` | string | `''` | Error message | +| `icon` | string | `'upload'` | Font-awesome icon name, without the 'fa-' prefix. | +| `layout` | reference to Layout widget | reference to new instance | +| `multiple` | boolean | `false` | If True, allow for multiple files upload | +| `style` | reference to ButtonStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array of object | `[]` | The file upload value | -### DraggableBoxModel (@jupyter-widgets/controls, 2.0.0); DraggableBoxView (@jupyter-widgets/controls, 2.0.0) +### FloatLogSliderModel (@jupyter-widgets/controls, 2.0.0); FloatLogSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DraggableBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DraggableBoxView'` | -`child` | `null` or reference to Widget widget | reference to new instance | -`drag_data` | object | `{}` | -`draggable` | boolean | `true` | -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatLogSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatLogSliderView'` | +| `base` | number (float) | `10.0` | Base for the logarithm | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `4.0` | Max value for the exponent | +| `min` | number (float) | `0.0` | Min value for the exponent | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'.3g'` | Format for the readout | +| `step` | `null` or number (float) | `0.1` | Minimum step in the exponent to increment the value | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `1.0` | Float value | -### DropBoxModel (@jupyter-widgets/controls, 2.0.0); DropBoxView (@jupyter-widgets/controls, 2.0.0) +### FloatProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DropBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DropBoxView'` | -`child` | `null` or reference to Widget widget | reference to new instance | -`drag_data` | object | `{}` | -`draggable` | boolean | `false` | -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------------ | ----------------------------- | ---------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatProgressModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ProgressView'` | +| `bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `100.0` | Max value | +| `min` | number (float) | `0.0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `style` | reference to ProgressStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | Float value | -### DropdownModel (@jupyter-widgets/controls, 2.0.0); DropdownView (@jupyter-widgets/controls, 2.0.0) +### FloatRangeSliderModel (@jupyter-widgets/controls, 2.0.0); FloatRangeSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DropdownModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DropdownView'` | -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | `null` or number (integer) | `null` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatRangeSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatRangeSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `100.0` | Max value | +| `min` | number (float) | `0.0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'.2f'` | Format for the readout | +| `step` | `null` or number (float) | `0.1` | Minimum step to increment the value | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds | -### FileUploadModel (@jupyter-widgets/controls, 2.0.0); FileUploadView (@jupyter-widgets/controls, 2.0.0) +### FloatSliderModel (@jupyter-widgets/controls, 2.0.0); FloatSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FileUploadModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FileUploadView'` | -`accept` | string | `''` | File types to accept, empty string for all -`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable button -`error` | string | `''` | Error message -`icon` | string | `'upload'` | Font-awesome icon name, without the 'fa-' prefix. -`layout` | reference to Layout widget | reference to new instance | -`multiple` | boolean | `false` | If True, allow for multiple files upload -`style` | reference to ButtonStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array of object | `[]` | The file upload value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `100.0` | Max value | +| `min` | number (float) | `0.0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'.2f'` | Format for the readout | +| `step` | `null` or number (float) | `0.1` | Minimum step to increment the value | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | Float value | -### FloatLogSliderModel (@jupyter-widgets/controls, 2.0.0); FloatLogSliderView (@jupyter-widgets/controls, 2.0.0) +### FloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatLogSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatLogSliderView'` | -`base` | number (float) | `10.0` | Base for the logarithm -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `4.0` | Max value for the exponent -`min` | number (float) | `0.0` | Min value for the exponent -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'.3g'` | Format for the readout -`step` | `null` or number (float) | `0.1` | Minimum step in the exponent to increment the value -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `1.0` | Float value - -### FloatProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) - -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatProgressModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. -`description` | string | `''` | Description of the control. -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `100.0` | Max value -`min` | number (float) | `0.0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`style` | reference to ProgressStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | Float value - -### FloatRangeSliderModel (@jupyter-widgets/controls, 2.0.0); FloatRangeSliderView (@jupyter-widgets/controls, 2.0.0) - -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatRangeSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatRangeSliderView'` | -`continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `100.0` | Max value -`min` | number (float) | `0.0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'.2f'` | Format for the readout -`step` | `null` or number (float) | `0.1` | Minimum step to increment the value -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds - -### FloatSliderModel (@jupyter-widgets/controls, 2.0.0); FloatSliderView (@jupyter-widgets/controls, 2.0.0) - -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatSliderView'` | -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `100.0` | Max value -`min` | number (float) | `0.0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'.2f'` | Format for the readout -`step` | `null` or number (float) | `0.1` | Minimum step to increment the value -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | Float value - -### FloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) - -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatTextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatTextView'` | -`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`step` | `null` or number (float) | `null` | Minimum step to increment the value -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | Float value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatTextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatTextView'` | +| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `step` | `null` or number (float) | `null` | Minimum step to increment the value | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | Float value | + +### FloatsInputModel (@jupyter-widgets/controls, 2.0.0); FloatsInputView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatsInputModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatsInputView'` | +| `allow_duplicates` | boolean | `true` | +| `allowed_tags` | array | `[]` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `format` | string | `'.1f'` | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or number (float) | `null` | +| `min` | `null` or number (float) | `null` | +| `placeholder` | string | `'\u200b'` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[]` | List of float tags | ### GridBoxModel (@jupyter-widgets/controls, 2.0.0); GridBoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'GridBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'GridBoxView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'GridBoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'GridBoxView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### HBoxModel (@jupyter-widgets/controls, 2.0.0); HBoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'HBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'HBoxView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HBoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'HBoxView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### HTMLMathModel (@jupyter-widgets/controls, 2.0.0); HTMLMathView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'HTMLMathModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'HTMLMathView'` | -`description` | string | `''` | Description of the control. -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------- | ----------------------------- | ------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HTMLMathModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'HTMLMathView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to HTMLMathStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | + +### HTMLMathStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) + +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HTMLMathStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_size` | `null` or string | `null` | Text font size. | +| `text_color` | `null` or string | `null` | Text color | ### HTMLModel (@jupyter-widgets/controls, 2.0.0); HTMLView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'HTMLModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'HTMLView'` | -`description` | string | `''` | Description of the control. -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HTMLModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'HTMLView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to HTMLStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | + +### HTMLStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) + +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HTMLStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_size` | `null` or string | `null` | Text font size. | +| `text_color` | `null` or string | `null` | Text color | ### ImageModel (@jupyter-widgets/controls, 2.0.0); ImageView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ImageModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ImageView'` | -`format` | string | `'png'` | The format of the image. -`height` | string | `''` | Height of the image in pixels. Use layout.height for styling the widget. -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | Bytes | `b''` | The media data as a memory view of bytes. -`width` | string | `''` | Width of the image in pixels. Use layout.width for styling the widget. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ImageModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ImageView'` | +| `format` | string | `'png'` | The format of the image. | +| `height` | string | `''` | Height of the image in pixels. Use layout.height for styling the widget. | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | Bytes | `b''` | The media data as a memory view of bytes. | +| `width` | string | `''` | Width of the image in pixels. Use layout.width for styling the widget. | ### IntProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntProgressModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progess bar. -`description` | string | `''` | Description of the control. -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`style` | reference to ProgressStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | -------------------------------------------------------------------- | ----------------------------- | ---------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntProgressModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ProgressView'` | +| `bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `style` | reference to ProgressStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### IntRangeSliderModel (@jupyter-widgets/controls, 2.0.0); IntRangeSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntRangeSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntRangeSliderView'` | -`continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'d'` | Format for the readout -`step` | number (integer) | `1` | Minimum step that the value can take -`style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array | `[0, 1]` | Tuple of (lower, upper) bounds +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntRangeSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntRangeSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'d'` | Format for the readout | +| `step` | number (integer) | `1` | Minimum step that the value can take | +| `style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[0, 1]` | Tuple of (lower, upper) bounds | ### IntSliderModel (@jupyter-widgets/controls, 2.0.0); IntSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntSliderView'` | -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'d'` | Format for the readout -`step` | number (integer) | `1` | Minimum step to increment the value -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'d'` | Format for the readout | +| `step` | number (integer) | `1` | Minimum step to increment the value | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### IntTextModel (@jupyter-widgets/controls, 2.0.0); IntTextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntTextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntTextView'` | -`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`step` | number (integer) | `1` | Minimum step to increment the value -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntTextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntTextView'` | +| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `step` | number (integer) | `1` | Minimum step to increment the value | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | + +### IntsInputModel (@jupyter-widgets/controls, 2.0.0); IntsInputView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntsInputModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntsInputView'` | +| `allow_duplicates` | boolean | `true` | +| `allowed_tags` | array | `[]` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `format` | string | `'d'` | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or number (integer) | `null` | +| `min` | `null` or number (integer) | `null` | +| `placeholder` | string | `'\u200b'` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[]` | List of int tags | ### LabelModel (@jupyter-widgets/controls, 2.0.0); LabelView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'LabelModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'LabelView'` | -`description` | string | `''` | Description of the control. -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------ | ----------------------------- | ------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'LabelModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'LabelView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to LabelStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | + +### LabelStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) + +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'LabelStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_family` | `null` or string | `null` | Label text font family. | +| `font_size` | `null` or string | `null` | Text font size. | +| `font_style` | `null` or string | `null` | Label text font style. | +| `font_variant` | `null` or string | `null` | Label text font variant. | +| `font_weight` | `null` or string | `null` | Label text font weight. | +| `text_color` | `null` or string | `null` | Text color | +| `text_decoration` | `null` or string | `null` | Label text decoration. | ### LinkModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'LinkModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | `null` or string | `null` | Name of the view. -`source` | array | `[]` | The source (widget, 'trait_name') pair -`target` | array | `[]` | The target (widget, 'trait_name') pair +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | -------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'LinkModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | `null` or string | `null` | Name of the view. | +| `source` | array | `[]` | The source (widget, 'trait_name') pair | +| `target` | array | `[]` | The target (widget, 'trait_name') pair | + +### NaiveDatetimeModel (@jupyter-widgets/controls, 2.0.0); DatetimeView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'NaiveDatetimeModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DatetimeView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or Datetime | `null` | +| `min` | `null` or Datetime | `null` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | `null` or Datetime | `null` | ### PasswordModel (@jupyter-widgets/controls, 2.0.0); PasswordView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'PasswordModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'PasswordView'` | -`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'PasswordModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'PasswordView'` | +| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to TextStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | ### PlayModel (@jupyter-widgets/controls, 2.0.0); PlayView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'PlayModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'PlayView'` | -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`interval` | number (integer) | `100` | The time between two animation steps (ms). -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`playing` | boolean | `false` | Whether the control is currently playing. -`repeat` | boolean | `false` | Whether the control will repeat in a continous loop. -`show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. -`step` | number (integer) | `1` | Increment step -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'PlayModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'PlayView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `interval` | number (integer) | `100` | The time between two animation steps (ms). | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `playing` | boolean | `false` | Whether the control is currently playing. | +| `repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. | +| `show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. | +| `step` | number (integer) | `1` | Increment step | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### ProgressStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ProgressStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`bar_color` | `null` or string | `null` | Color of the progress bar. -`description_width` | string | `''` | Width of the description to the side of the control. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ProgressStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `bar_color` | `null` or string | `null` | Color of the progress bar. | +| `description_width` | string | `''` | Width of the description to the side of the control. | ### RadioButtonsModel (@jupyter-widgets/controls, 2.0.0); RadioButtonsView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'RadioButtonsModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'RadioButtonsView'` | -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | `null` or number (integer) | `null` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'RadioButtonsModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'RadioButtonsView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | `null` or number (integer) | `null` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SelectModel (@jupyter-widgets/controls, 2.0.0); SelectView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SelectModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'SelectView'` | -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | `null` or number (integer) | `null` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`rows` | number (integer) | `5` | The number of rows to display. -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SelectModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'SelectView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | `null` or number (integer) | `null` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `rows` | number (integer) | `5` | The number of rows to display. | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SelectMultipleModel (@jupyter-widgets/controls, 2.0.0); SelectMultipleView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SelectMultipleModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'SelectMultipleView'` | -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | array of number (integer) | `[]` | Selected indices -`layout` | reference to Layout widget | reference to new instance | -`rows` | number (integer) | `5` | The number of rows to display. -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SelectMultipleModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'SelectMultipleView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | array of number (integer) | `[]` | Selected indices | +| `layout` | reference to Layout widget | reference to new instance | +| `rows` | number (integer) | `5` | The number of rows to display. | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SelectionRangeSliderModel (@jupyter-widgets/controls, 2.0.0); SelectionRangeSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SelectionRangeSliderModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'SelectionRangeSliderView'` | -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | array | `[0, 0]` | Min and max selected indices -`layout` | reference to Layout widget | reference to new instance | -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current selected label next to the slider -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SelectionRangeSliderModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'SelectionRangeSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | array | `[0, 0]` | Min and max selected indices | +| `layout` | reference to Layout widget | reference to new instance | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current selected label next to the slider | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SelectionSliderModel (@jupyter-widgets/controls, 2.0.0); SelectionSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SelectionSliderModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'SelectionSliderView'` | -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | number (integer) | `0` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current selected label next to the slider -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SelectionSliderModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'SelectionSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | number (integer) | `0` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current selected label next to the slider | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SliderStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SliderStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`description_width` | string | `''` | Width of the description to the side of the control. -`handle_color` | `null` or string | `null` | Color of the slider handle. - -### StackedModel (@jupyter-widgets/controls, 2.0.0); StackedView (@jupyter-widgets/controls, 2.0.0) - -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'StackedModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StackedView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`titles` | array of string | `[]` | Titles of the pages -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SliderStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `handle_color` | `null` or string | `null` | Color of the slider handle. | + +### StackModel (@jupyter-widgets/controls, 2.0.0); StackView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'StackModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StackView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `titles` | array of string | `[]` | Titles of the pages | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### TabModel (@jupyter-widgets/controls, 2.0.0); TabView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TabModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'TabView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`titles` | array of string | `[]` | Titles of the pages -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TabModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TabView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `titles` | array of string | `[]` | Titles of the pages | +| `tooltip` | `null` or string | `null` | A tooltip caption. | + +### TagsInputModel (@jupyter-widgets/controls, 2.0.0); TagsInputView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TagsInputModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TagsInputView'` | +| `allow_duplicates` | boolean | `true` | +| `allowed_tags` | array | `[]` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[]` | List of string tags | ### TextModel (@jupyter-widgets/controls, 2.0.0); TextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'TextView'` | -`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TextView'` | +| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to TextStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | + +### TextStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) + +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TextStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_size` | `null` or string | `null` | Text font size. | +| `text_color` | `null` or string | `null` | Text color | ### TextareaModel (@jupyter-widgets/controls, 2.0.0); TextareaView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TextareaModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'TextareaView'` | -`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`rows` | `null` or number (integer) | `null` | The number of rows to display. -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TextareaModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TextareaView'` | +| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `rows` | `null` or number (integer) | `null` | The number of rows to display. | +| `style` | reference to TextStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | + +### TimeModel (@jupyter-widgets/controls, 2.0.0); TimeView (@jupyter-widgets/controls, 2.0.0) + +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------------------- | ----------------------------- | ---------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TimeModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TimeView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or Time | `null` | +| `min` | `null` or Time | `null` | +| `step` | number (float) or string (one of `'any'`) | `60` | The time step to use for the picker, in seconds, or "any". | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | `null` or Time | `null` | ### ToggleButtonModel (@jupyter-widgets/controls, 2.0.0); ToggleButtonView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ToggleButtonModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ToggleButtonView'` | -`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes. -`icon` | string | `''` | Font-awesome icon. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | boolean | `false` | Bool value +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ToggleButtonModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ToggleButtonView'` | +| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `icon` | string | `''` | Font-awesome icon. | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to ToggleButtonStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | boolean | `false` | Bool value | + +### ToggleButtonStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) + +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ToggleButtonStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_family` | `null` or string | `null` | Toggle button text font family. | +| `font_size` | `null` or string | `null` | Toggle button text font size. | +| `font_style` | `null` or string | `null` | Toggle button text font style. | +| `font_variant` | `null` or string | `null` | Toggle button text font variant. | +| `font_weight` | `null` or string | `null` | Toggle button text font weight. | +| `text_color` | `null` or string | `null` | Toggle button text color | +| `text_decoration` | `null` or string | `null` | Toggle button text decoration. | ### ToggleButtonsModel (@jupyter-widgets/controls, 2.0.0); ToggleButtonsView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ToggleButtonsModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ToggleButtonsView'` | -`button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes -`icons` | array of string | `[]` | Icons names for each button (FontAwesome names without the fa- prefix). -`index` | `null` or number (integer) | `null` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to ToggleButtonsStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`tooltips` | array of string | `[]` | Tooltips for each button. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ToggleButtonsModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ToggleButtonsView'` | +| `button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `icons` | array of string | `[]` | Icons names for each button (FontAwesome names without the fa- prefix). | +| `index` | `null` or number (integer) | `null` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to ToggleButtonsStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `tooltips` | array of string | `[]` | Tooltips for each button. | ### ToggleButtonsStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ToggleButtonsStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`button_width` | string | `''` | The width of each button. -`description_width` | string | `''` | Width of the description to the side of the control. -`font_weight` | string | `''` | Text font weight of each button. +| Attribute | Type | Default | Help | +| ----------------------- | ------ | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ToggleButtonsStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `button_width` | string | `''` | The width of each button. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_weight` | string | `''` | Text font weight of each button. | ### VBoxModel (@jupyter-widgets/controls, 2.0.0); VBoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'VBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'VBoxView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'VBoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'VBoxView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### ValidModel (@jupyter-widgets/controls, 2.0.0); ValidView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ValidModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ValidView'` | -`description` | string | `''` | Description of the control. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`readout` | string | `'Invalid'` | Message displayed when the value is False -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | boolean | `false` | Bool value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ValidModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ValidView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `readout` | string | `'Invalid'` | Message displayed when the value is False | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | boolean | `false` | Bool value | ### VideoModel (@jupyter-widgets/controls, 2.0.0); VideoView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'VideoModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'VideoView'` | -`autoplay` | boolean | `true` | When true, the video starts when it's displayed -`controls` | boolean | `true` | Specifies that video controls should be displayed (such as a play/pause button etc) -`format` | string | `'mp4'` | The format of the video. -`height` | string | `''` | Height of the video in pixels. -`layout` | reference to Layout widget | reference to new instance | -`loop` | boolean | `true` | When true, the video will start from the beginning after finishing -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | Bytes | `b''` | The media data as a memory view of bytes. -`width` | string | `''` | Width of the video in pixels. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'VideoModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'VideoView'` | +| `autoplay` | boolean | `true` | When true, the video starts when it's displayed | +| `controls` | boolean | `true` | Specifies that video controls should be displayed (such as a play/pause button etc) | +| `format` | string | `'mp4'` | The format of the video. | +| `height` | string | `''` | Height of the video in pixels. | +| `layout` | reference to Layout widget | reference to new instance | +| `loop` | boolean | `true` | When true, the video will start from the beginning after finishing | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | Bytes | `b''` | The media data as a memory view of bytes. | +| `width` | string | `''` | Width of the video in pixels. | ### OutputModel (@jupyter-widgets/output, 1.0.0); OutputView (@jupyter-widgets/output, 1.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/output'` | -`_model_module_version` | string | `'1.0.0'` | -`_model_name` | string | `'OutputModel'` | -`_view_module` | string | `'@jupyter-widgets/output'` | -`_view_module_version` | string | `'1.0.0'` | -`_view_name` | string | `'OutputView'` | -`layout` | reference to Layout widget | reference to new instance | -`msg_id` | string | `''` | Parent message id of messages to capture -`outputs` | array of object | `[]` | The output messages synced from the frontend. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. - +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | --------------------------- | --------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/output'` | +| `_model_module_version` | string | `'1.0.0'` | +| `_model_name` | string | `'OutputModel'` | +| `_view_module` | string | `'@jupyter-widgets/output'` | +| `_view_module_version` | string | `'1.0.0'` | +| `_view_name` | string | `'OutputView'` | +| `layout` | reference to Layout widget | reference to new instance | +| `msg_id` | string | `''` | Parent message id of messages to capture | +| `outputs` | array of object | `[]` | The output messages synced from the frontend. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | From 65fcc6577ecf8818bd35a14cd23a5cea8bcbf9ac Mon Sep 17 00:00:00 2001 From: Greg Freeman Date: Sun, 16 Jul 2023 14:09:56 -0500 Subject: [PATCH 14/16] update schema to generated schema. Replace snapshots for subtle differences in tests --- packages/schema/jupyterwidgetmodels.latest.md | 2541 +++++++++-------- .../widgets-cell-40-linux.png | Bin 1645 -> 1672 bytes .../widgets-cell-41-linux.png | Bin 2685 -> 2717 bytes .../widgets-cell-42-linux.png | Bin 3019 -> 2890 bytes .../widgets-cell-43-linux.png | Bin 2593 -> 2619 bytes .../widgets-cell-44-linux.png | Bin 6869 -> 6721 bytes 6 files changed, 1272 insertions(+), 1269 deletions(-) diff --git a/packages/schema/jupyterwidgetmodels.latest.md b/packages/schema/jupyterwidgetmodels.latest.md index 5690465d5a..eca3bb9e3e 100644 --- a/packages/schema/jupyterwidgetmodels.latest.md +++ b/packages/schema/jupyterwidgetmodels.latest.md @@ -14,1489 +14,1492 @@ Each widget in the Jupyter core widgets is represented below. The heading represents the model name, module, and version, view name, module, and version that the widget is registered with. + ### LayoutModel (@jupyter-widgets/base, 2.0.0); LayoutView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ---------------------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/base'` | The namespace for the model. | -| `_model_module_version` | string | `'2.0.0'` | A semver requirement for namespace version containing the model. | -| `_model_name` | string | `'LayoutModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'LayoutView'` | -| `align_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'space-evenly'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-content CSS attribute. | -| `align_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-items CSS attribute. | -| `align_self` | `null` or string (one of `'auto'`, `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-self CSS attribute. | -| `border_bottom` | `null` or string | `null` | The border bottom CSS attribute. | -| `border_left` | `null` or string | `null` | The border left CSS attribute. | -| `border_right` | `null` or string | `null` | The border right CSS attribute. | -| `border_top` | `null` or string | `null` | The border top CSS attribute. | -| `bottom` | `null` or string | `null` | The bottom CSS attribute. | -| `display` | `null` or string | `null` | The display CSS attribute. | -| `flex` | `null` or string | `null` | The flex CSS attribute. | -| `flex_flow` | `null` or string | `null` | The flex-flow CSS attribute. | -| `grid_area` | `null` or string | `null` | The grid-area CSS attribute. | -| `grid_auto_columns` | `null` or string | `null` | The grid-auto-columns CSS attribute. | -| `grid_auto_flow` | `null` or string (one of `'column'`, `'row'`, `'row dense'`, `'column dense'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The grid-auto-flow CSS attribute. | -| `grid_auto_rows` | `null` or string | `null` | The grid-auto-rows CSS attribute. | -| `grid_column` | `null` or string | `null` | The grid-column CSS attribute. | -| `grid_gap` | `null` or string | `null` | The grid-gap CSS attribute. | -| `grid_row` | `null` or string | `null` | The grid-row CSS attribute. | -| `grid_template_areas` | `null` or string | `null` | The grid-template-areas CSS attribute. | -| `grid_template_columns` | `null` or string | `null` | The grid-template-columns CSS attribute. | -| `grid_template_rows` | `null` or string | `null` | The grid-template-rows CSS attribute. | -| `height` | `null` or string | `null` | The height CSS attribute. | -| `justify_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-content CSS attribute. | -| `justify_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-items CSS attribute. | -| `left` | `null` or string | `null` | The left CSS attribute. | -| `margin` | `null` or string | `null` | The margin CSS attribute. | -| `max_height` | `null` or string | `null` | The max-height CSS attribute. | -| `max_width` | `null` or string | `null` | The max-width CSS attribute. | -| `min_height` | `null` or string | `null` | The min-height CSS attribute. | -| `min_width` | `null` or string | `null` | The min-width CSS attribute. | -| `object_fit` | `null` or string (one of `'contain'`, `'cover'`, `'fill'`, `'scale-down'`, `'none'`) | `null` | The object-fit CSS attribute. | -| `object_position` | `null` or string | `null` | The object-position CSS attribute. | -| `order` | `null` or string | `null` | The order CSS attribute. | -| `overflow` | `null` or string | `null` | The overflow CSS attribute. | -| `padding` | `null` or string | `null` | The padding CSS attribute. | -| `right` | `null` or string | `null` | The right CSS attribute. | -| `top` | `null` or string | `null` | The top CSS attribute. | -| `visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. | -| `width` | `null` or string | `null` | The width CSS attribute. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/base'` | The namespace for the model. +`_model_module_version` | string | `'2.0.0'` | A semver requirement for namespace version containing the model. +`_model_name` | string | `'LayoutModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'LayoutView'` | +`align_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'space-evenly'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-content CSS attribute. +`align_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-items CSS attribute. +`align_self` | `null` or string (one of `'auto'`, `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-self CSS attribute. +`border_bottom` | `null` or string | `null` | The border bottom CSS attribute. +`border_left` | `null` or string | `null` | The border left CSS attribute. +`border_right` | `null` or string | `null` | The border right CSS attribute. +`border_top` | `null` or string | `null` | The border top CSS attribute. +`bottom` | `null` or string | `null` | The bottom CSS attribute. +`display` | `null` or string | `null` | The display CSS attribute. +`flex` | `null` or string | `null` | The flex CSS attribute. +`flex_flow` | `null` or string | `null` | The flex-flow CSS attribute. +`grid_area` | `null` or string | `null` | The grid-area CSS attribute. +`grid_auto_columns` | `null` or string | `null` | The grid-auto-columns CSS attribute. +`grid_auto_flow` | `null` or string (one of `'column'`, `'row'`, `'row dense'`, `'column dense'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The grid-auto-flow CSS attribute. +`grid_auto_rows` | `null` or string | `null` | The grid-auto-rows CSS attribute. +`grid_column` | `null` or string | `null` | The grid-column CSS attribute. +`grid_gap` | `null` or string | `null` | The grid-gap CSS attribute. +`grid_row` | `null` or string | `null` | The grid-row CSS attribute. +`grid_template_areas` | `null` or string | `null` | The grid-template-areas CSS attribute. +`grid_template_columns` | `null` or string | `null` | The grid-template-columns CSS attribute. +`grid_template_rows` | `null` or string | `null` | The grid-template-rows CSS attribute. +`height` | `null` or string | `null` | The height CSS attribute. +`justify_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-content CSS attribute. +`justify_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-items CSS attribute. +`left` | `null` or string | `null` | The left CSS attribute. +`margin` | `null` or string | `null` | The margin CSS attribute. +`max_height` | `null` or string | `null` | The max-height CSS attribute. +`max_width` | `null` or string | `null` | The max-width CSS attribute. +`min_height` | `null` or string | `null` | The min-height CSS attribute. +`min_width` | `null` or string | `null` | The min-width CSS attribute. +`object_fit` | `null` or string (one of `'contain'`, `'cover'`, `'fill'`, `'scale-down'`, `'none'`) | `null` | The object-fit CSS attribute. +`object_position` | `null` or string | `null` | The object-position CSS attribute. +`order` | `null` or string | `null` | The order CSS attribute. +`overflow` | `null` or string | `null` | The overflow CSS attribute. +`padding` | `null` or string | `null` | The padding CSS attribute. +`right` | `null` or string | `null` | The right CSS attribute. +`top` | `null` or string | `null` | The top CSS attribute. +`visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. +`width` | `null` or string | `null` | The width CSS attribute. ### AccordionModel (@jupyter-widgets/controls, 2.0.0); AccordionView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'AccordionModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'AccordionView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `titles` | array of string | `[]` | Titles of the pages | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'AccordionModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'AccordionView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`titles` | array of string | `[]` | Titles of the pages +`tooltip` | `null` or string | `null` | A tooltip caption. ### AudioModel (@jupyter-widgets/controls, 2.0.0); AudioView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'AudioModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'AudioView'` | -| `autoplay` | boolean | `true` | When true, the audio starts when it's displayed | -| `controls` | boolean | `true` | Specifies that audio controls should be displayed (such as a play/pause button etc) | -| `format` | string | `'mp3'` | The format of the audio. | -| `layout` | reference to Layout widget | reference to new instance | -| `loop` | boolean | `true` | When true, the audio will start from the beginning after finishing | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | Bytes | `b''` | The media data as a memory view of bytes. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'AudioModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'AudioView'` | +`autoplay` | boolean | `true` | When true, the audio starts when it's displayed +`controls` | boolean | `true` | Specifies that audio controls should be displayed (such as a play/pause button etc) +`format` | string | `'mp3'` | The format of the audio. +`layout` | reference to Layout widget | reference to new instance | +`loop` | boolean | `true` | When true, the audio will start from the beginning after finishing +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | Bytes | `b''` | The media data as a memory view of bytes. ### BoundedFloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'BoundedFloatTextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatTextView'` | -| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `100.0` | Max value | -| `min` | number (float) | `0.0` | Min value | -| `step` | `null` or number (float) | `null` | Minimum step to increment the value | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | Float value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'BoundedFloatTextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatTextView'` | +`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `100.0` | Max value +`min` | number (float) | `0.0` | Min value +`step` | `null` or number (float) | `null` | Minimum step to increment the value +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | Float value ### BoundedIntTextModel (@jupyter-widgets/controls, 2.0.0); IntTextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'BoundedIntTextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntTextView'` | -| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `step` | number (integer) | `1` | Minimum step to increment the value | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'BoundedIntTextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntTextView'` | +`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`step` | number (integer) | `1` | Minimum step to increment the value +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### BoxModel (@jupyter-widgets/controls, 2.0.0); BoxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'BoxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'BoxView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'BoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'BoxView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### ButtonModel (@jupyter-widgets/controls, 2.0.0); ButtonView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | --------------------------------------------------------------------------------- | ----------------------------- | -------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ButtonModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ButtonView'` | -| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | -| `description` | string | `''` | Button label. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `icon` | string | `''` | Font-awesome icon names, without the 'fa-' prefix. | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to ButtonStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ButtonModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ButtonView'` | +`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. +`description` | string | `''` | Button label. +`disabled` | boolean | `false` | Enable or disable user changes. +`icon` | string | `''` | Font-awesome icon names, without the 'fa-' prefix. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to ButtonStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### ButtonStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ButtonStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `button_color` | `null` or string | `null` | Color of the button | -| `font_family` | `null` or string | `null` | Button text font family. | -| `font_size` | `null` or string | `null` | Button text font size. | -| `font_style` | `null` or string | `null` | Button text font style. | -| `font_variant` | `null` or string | `null` | Button text font variant. | -| `font_weight` | `null` or string | `null` | Button text font weight. | -| `text_color` | `null` or string | `null` | Button text color. | -| `text_decoration` | `null` or string | `null` | Button text decoration. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ButtonStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`button_color` | `null` or string | `null` | Color of the button +`font_family` | `null` or string | `null` | Button text font family. +`font_size` | `null` or string | `null` | Button text font size. +`font_style` | `null` or string | `null` | Button text font style. +`font_variant` | `null` or string | `null` | Button text font variant. +`font_weight` | `null` or string | `null` | Button text font weight. +`text_color` | `null` or string | `null` | Button text color. +`text_decoration` | `null` or string | `null` | Button text decoration. ### CheckboxModel (@jupyter-widgets/controls, 2.0.0); CheckboxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------- | ----------------------------- | ------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'CheckboxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'CheckboxView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `indent` | boolean | `true` | Indent the control to align with other controls with a description. | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to CheckboxStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | boolean | `false` | Bool value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'CheckboxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'CheckboxView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes. +`indent` | boolean | `true` | Indent the control to align with other controls with a description. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to CheckboxStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | boolean | `false` | Bool value ### CheckboxStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'CheckboxStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'CheckboxStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`background` | `null` or string | `null` | Background specifications. +`description_width` | string | `''` | Width of the description to the side of the control. ### ColorPickerModel (@jupyter-widgets/controls, 2.0.0); ColorPickerView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ColorPickerModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ColorPickerView'` | -| `concise` | boolean | `false` | Display short version with just a color selector. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `'black'` | The color value. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ColorPickerModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ColorPickerView'` | +`concise` | boolean | `false` | Display short version with just a color selector. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `'black'` | The color value. ### ColorsInputModel (@jupyter-widgets/controls, 2.0.0); ColorsInputView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ColorsInputModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ColorsInputView'` | -| `allow_duplicates` | boolean | `true` | -| `allowed_tags` | array | `[]` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[]` | List of string tags | - -### ComboboxModel (@jupyter-widgets/controls, 2.0.0); ComboboxView (@jupyter-widgets/controls, 2.0.0) - -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ComboboxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ComboboxView'` | -| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `ensure_option` | boolean | `false` | If set, ensure value is in options. Implies continuous_update=False. | -| `layout` | reference to Layout widget | reference to new instance | -| `options` | array of string | `[]` | Dropdown options for the combobox | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to TextStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | -### DraggableBoxModel (@jupyter-widgets/controls, 2.0.0); DraggableBoxView (@jupyter-widgets/controls, 2.0.0) - Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | `_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DraggableBoxModel'` | +`_model_name` | string | `'ColorsInputModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DraggableBoxView'` | -`child` | `null` or reference to Widget widget | reference to new instance | -`drag_data` | object | `{}` | -`draggable` | boolean | `true` | +`_view_name` | string | `'ColorsInputView'` | +`allow_duplicates` | boolean | `true` | +`allowed_tags` | array | `[]` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. `layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations `tabbable` | `null` or boolean | `null` | Is widget tabbable? `tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array | `[]` | List of string tags -### DropBoxModel (@jupyter-widgets/controls, 2.0.0); DropBoxView (@jupyter-widgets/controls, 2.0.0) +### ComboboxModel (@jupyter-widgets/controls, 2.0.0); ComboboxView (@jupyter-widgets/controls, 2.0.0) Attribute | Type | Default | Help -----------------|------------------|------------------|---- `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element `_model_module` | string | `'@jupyter-widgets/controls'` | `_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DropBoxModel'` | +`_model_name` | string | `'ComboboxModel'` | `_view_module` | string | `'@jupyter-widgets/controls'` | `_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DropBoxView'` | -`child` | `null` or reference to Widget widget | reference to new instance | -`drag_data` | object | `{}` | -`draggable` | boolean | `false` | +`_view_name` | string | `'ComboboxView'` | +`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`ensure_option` | boolean | `false` | If set, ensure value is in options. Implies continuous_update=False. `layout` | reference to Layout widget | reference to new instance | +`options` | array of string | `[]` | Dropdown options for the combobox +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to TextStyle widget | reference to new instance | `tabbable` | `null` or boolean | `null` | Is widget tabbable? `tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### ControllerAxisModel (@jupyter-widgets/controls, 2.0.0); ControllerAxisView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ControllerAxisModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ControllerAxisView'` | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | The value of the axis. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ControllerAxisModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ControllerAxisView'` | +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | The value of the axis. ### ControllerButtonModel (@jupyter-widgets/controls, 2.0.0); ControllerButtonView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ControllerButtonModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ControllerButtonView'` | -| `layout` | reference to Layout widget | reference to new instance | -| `pressed` | boolean | `false` | Whether the button is pressed. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | The value of the button. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ControllerButtonModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ControllerButtonView'` | +`layout` | reference to Layout widget | reference to new instance | +`pressed` | boolean | `false` | Whether the button is pressed. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | The value of the button. ### ControllerModel (@jupyter-widgets/controls, 2.0.0); ControllerView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ----------------------------------- | ----------------------------- | ----------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ControllerModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ControllerView'` | -| `axes` | array of reference to Axis widget | `[]` | The axes on the gamepad. | -| `buttons` | array of reference to Button widget | `[]` | The buttons on the gamepad. | -| `connected` | boolean | `false` | Whether the gamepad is connected. | -| `index` | number (integer) | `0` | The id number of the controller. | -| `layout` | reference to Layout widget | reference to new instance | -| `mapping` | string | `''` | The name of the control mapping. | -| `name` | string | `''` | The name of the controller. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ControllerModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ControllerView'` | +`axes` | array of reference to Axis widget | `[]` | The axes on the gamepad. +`buttons` | array of reference to Button widget | `[]` | The buttons on the gamepad. +`connected` | boolean | `false` | Whether the gamepad is connected. +`index` | number (integer) | `0` | The id number of the controller. +`layout` | reference to Layout widget | reference to new instance | +`mapping` | string | `''` | The name of the control mapping. +`name` | string | `''` | The name of the controller. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. +`tooltip` | `null` or string | `null` | A tooltip caption. ### DOMWidgetModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DOMWidgetModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | `null` or string | `null` | Name of the view. | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | Bytes | `b''` | The media data as a memory view of bytes. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DOMWidgetModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | `null` or string | `null` | Name of the view. +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | Bytes | `b''` | The media data as a memory view of bytes. ### DatePickerModel (@jupyter-widgets/controls, 2.0.0); DatePickerView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------- | ----------------------------- | ------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DatePickerModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'DatePickerView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or Date | `null` | -| `min` | `null` or Date | `null` | -| `step` | number (integer) or string (one of `'any'`) | `1` | The date step to use for the picker, in days, or "any". | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | `null` or Date | `null` | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DatePickerModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DatePickerView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`max` | `null` or Date | `null` | +`min` | `null` or Date | `null` | +`step` | number (integer) or string (one of `'any'`) | `1` | The date step to use for the picker, in days, or "any". +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | `null` or Date | `null` | ### DatetimeModel (@jupyter-widgets/controls, 2.0.0); DatetimeView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DatetimeModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'DatetimeView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or Datetime | `null` | -| `min` | `null` or Datetime | `null` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | `null` or Datetime | `null` | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DatetimeModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DatetimeView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`max` | `null` or Datetime | `null` | +`min` | `null` or Datetime | `null` | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | `null` or Datetime | `null` | ### DescriptionStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ------ | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DescriptionStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `description_width` | string | `''` | Width of the description to the side of the control. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DescriptionStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`description_width` | string | `''` | Width of the description to the side of the control. ### DirectionalLinkModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | -------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DirectionalLinkModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | `null` or string | `null` | Name of the view. | -| `source` | array | `[]` | The source (widget, 'trait_name') pair | -| `target` | array | `[]` | The target (widget, 'trait_name') pair | - -### DropdownModel (@jupyter-widgets/controls, 2.0.0); DropdownView (@jupyter-widgets/controls, 2.0.0) +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DirectionalLinkModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | `null` or string | `null` | Name of the view. +`source` | array | `[]` | The source (widget, 'trait_name') pair +`target` | array | `[]` | The target (widget, 'trait_name') pair -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'DropdownModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'DropdownView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | `null` or number (integer) | `null` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +### DraggableBoxModel (@jupyter-widgets/controls, 2.0.0); DraggableBoxView (@jupyter-widgets/controls, 2.0.0) -### FileUploadModel (@jupyter-widgets/controls, 2.0.0); FileUploadView (@jupyter-widgets/controls, 2.0.0) +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DraggableBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DraggableBoxView'` | +`child` | `null` or reference to Widget widget | reference to new instance | +`drag_data` | object | `{}` | +`draggable` | boolean | `true` | +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FileUploadModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FileUploadView'` | -| `accept` | string | `''` | File types to accept, empty string for all | -| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable button | -| `error` | string | `''` | Error message | -| `icon` | string | `'upload'` | Font-awesome icon name, without the 'fa-' prefix. | -| `layout` | reference to Layout widget | reference to new instance | -| `multiple` | boolean | `false` | If True, allow for multiple files upload | -| `style` | reference to ButtonStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array of object | `[]` | The file upload value | +### DropBoxModel (@jupyter-widgets/controls, 2.0.0); DropBoxView (@jupyter-widgets/controls, 2.0.0) -### FloatLogSliderModel (@jupyter-widgets/controls, 2.0.0); FloatLogSliderView (@jupyter-widgets/controls, 2.0.0) +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DropBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DropBoxView'` | +`child` | `null` or reference to Widget widget | reference to new instance | +`drag_data` | object | `{}` | +`draggable` | boolean | `false` | +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatLogSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatLogSliderView'` | -| `base` | number (float) | `10.0` | Base for the logarithm | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `4.0` | Max value for the exponent | -| `min` | number (float) | `0.0` | Min value for the exponent | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'.3g'` | Format for the readout | -| `step` | `null` or number (float) | `0.1` | Minimum step in the exponent to increment the value | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `1.0` | Float value | +### DropdownModel (@jupyter-widgets/controls, 2.0.0); DropdownView (@jupyter-widgets/controls, 2.0.0) -### FloatProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'DropdownModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DropdownView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | `null` or number (integer) | `null` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------------ | ----------------------------- | ---------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatProgressModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ProgressView'` | -| `bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `100.0` | Max value | -| `min` | number (float) | `0.0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `style` | reference to ProgressStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | Float value | +### FileUploadModel (@jupyter-widgets/controls, 2.0.0); FileUploadView (@jupyter-widgets/controls, 2.0.0) -### FloatRangeSliderModel (@jupyter-widgets/controls, 2.0.0); FloatRangeSliderView (@jupyter-widgets/controls, 2.0.0) +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FileUploadModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FileUploadView'` | +`accept` | string | `''` | File types to accept, empty string for all +`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable button +`error` | string | `''` | Error message +`icon` | string | `'upload'` | Font-awesome icon name, without the 'fa-' prefix. +`layout` | reference to Layout widget | reference to new instance | +`multiple` | boolean | `false` | If True, allow for multiple files upload +`style` | reference to ButtonStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array of object | `[]` | The file upload value -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatRangeSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatRangeSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `100.0` | Max value | -| `min` | number (float) | `0.0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'.2f'` | Format for the readout | -| `step` | `null` or number (float) | `0.1` | Minimum step to increment the value | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds | +### FloatLogSliderModel (@jupyter-widgets/controls, 2.0.0); FloatLogSliderView (@jupyter-widgets/controls, 2.0.0) -### FloatSliderModel (@jupyter-widgets/controls, 2.0.0); FloatSliderView (@jupyter-widgets/controls, 2.0.0) +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatLogSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatLogSliderView'` | +`base` | number (float) | `10.0` | Base for the logarithm +`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `4.0` | Max value for the exponent +`min` | number (float) | `0.0` | Min value for the exponent +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'.3g'` | Format for the readout +`step` | `null` or number (float) | `0.1` | Minimum step in the exponent to increment the value +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `1.0` | Float value -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (float) | `100.0` | Max value | -| `min` | number (float) | `0.0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'.2f'` | Format for the readout | -| `step` | `null` or number (float) | `0.1` | Minimum step to increment the value | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | Float value | +### FloatProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) -### FloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatProgressModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ProgressView'` | +`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `100.0` | Max value +`min` | number (float) | `0.0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`style` | reference to ProgressStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | Float value + +### FloatRangeSliderModel (@jupyter-widgets/controls, 2.0.0); FloatRangeSliderView (@jupyter-widgets/controls, 2.0.0) + +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatRangeSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatRangeSliderView'` | +`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. +`continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `100.0` | Max value +`min` | number (float) | `0.0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'.2f'` | Format for the readout +`step` | `null` or number (float) | `0.1` | Minimum step to increment the value +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds + +### FloatSliderModel (@jupyter-widgets/controls, 2.0.0); FloatSliderView (@jupyter-widgets/controls, 2.0.0) + +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatSliderView'` | +`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (float) | `100.0` | Max value +`min` | number (float) | `0.0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'.2f'` | Format for the readout +`step` | `null` or number (float) | `0.1` | Minimum step to increment the value +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | Float value -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatTextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatTextView'` | -| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `step` | `null` or number (float) | `null` | Minimum step to increment the value | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (float) | `0.0` | Float value | +### FloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) + +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatTextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatTextView'` | +`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`step` | `null` or number (float) | `null` | Minimum step to increment the value +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (float) | `0.0` | Float value ### FloatsInputModel (@jupyter-widgets/controls, 2.0.0); FloatsInputView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'FloatsInputModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'FloatsInputView'` | -| `allow_duplicates` | boolean | `true` | -| `allowed_tags` | array | `[]` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `format` | string | `'.1f'` | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or number (float) | `null` | -| `min` | `null` or number (float) | `null` | -| `placeholder` | string | `'\u200b'` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[]` | List of float tags | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'FloatsInputModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'FloatsInputView'` | +`allow_duplicates` | boolean | `true` | +`allowed_tags` | array | `[]` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`format` | string | `'.1f'` | +`layout` | reference to Layout widget | reference to new instance | +`max` | `null` or number (float) | `null` | +`min` | `null` or number (float) | `null` | +`placeholder` | string | `'\u200b'` | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array | `[]` | List of float tags ### GridBoxModel (@jupyter-widgets/controls, 2.0.0); GridBoxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'GridBoxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'GridBoxView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'GridBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'GridBoxView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### HBoxModel (@jupyter-widgets/controls, 2.0.0); HBoxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HBoxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'HBoxView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'HBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'HBoxView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### HTMLMathModel (@jupyter-widgets/controls, 2.0.0); HTMLMathView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------- | ----------------------------- | ------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HTMLMathModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'HTMLMathView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to HTMLMathStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'HTMLMathModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'HTMLMathView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to HTMLMathStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### HTMLMathStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HTMLMathStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_size` | `null` or string | `null` | Text font size. | -| `text_color` | `null` or string | `null` | Text color | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'HTMLMathStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`background` | `null` or string | `null` | Background specifications. +`description_width` | string | `''` | Width of the description to the side of the control. +`font_size` | `null` or string | `null` | Text font size. +`text_color` | `null` or string | `null` | Text color ### HTMLModel (@jupyter-widgets/controls, 2.0.0); HTMLView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HTMLModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'HTMLView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to HTMLStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'HTMLModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'HTMLView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to HTMLStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### HTMLStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'HTMLStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_size` | `null` or string | `null` | Text font size. | -| `text_color` | `null` or string | `null` | Text color | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'HTMLStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`background` | `null` or string | `null` | Background specifications. +`description_width` | string | `''` | Width of the description to the side of the control. +`font_size` | `null` or string | `null` | Text font size. +`text_color` | `null` or string | `null` | Text color ### ImageModel (@jupyter-widgets/controls, 2.0.0); ImageView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ImageModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ImageView'` | -| `format` | string | `'png'` | The format of the image. | -| `height` | string | `''` | Height of the image in pixels. Use layout.height for styling the widget. | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | Bytes | `b''` | The media data as a memory view of bytes. | -| `width` | string | `''` | Width of the image in pixels. Use layout.width for styling the widget. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ImageModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ImageView'` | +`format` | string | `'png'` | The format of the image. +`height` | string | `''` | Height of the image in pixels. Use layout.height for styling the widget. +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | Bytes | `b''` | The media data as a memory view of bytes. +`width` | string | `''` | Width of the image in pixels. Use layout.width for styling the widget. ### IntProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | -------------------------------------------------------------------- | ----------------------------- | ---------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntProgressModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ProgressView'` | -| `bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `style` | reference to ProgressStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntProgressModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ProgressView'` | +`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`style` | reference to ProgressStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### IntRangeSliderModel (@jupyter-widgets/controls, 2.0.0); IntRangeSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntRangeSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntRangeSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'d'` | Format for the readout | -| `step` | number (integer) | `1` | Minimum step that the value can take | -| `style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[0, 1]` | Tuple of (lower, upper) bounds | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntRangeSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntRangeSliderView'` | +`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. +`continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'d'` | Format for the readout +`step` | number (integer) | `1` | Minimum step that the value can take +`style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array | `[0, 1]` | Tuple of (lower, upper) bounds ### IntSliderModel (@jupyter-widgets/controls, 2.0.0); IntSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntSliderModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current value of the slider next to it. | -| `readout_format` | string | `'d'` | Format for the readout | -| `step` | number (integer) | `1` | Minimum step to increment the value | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntSliderModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntSliderView'` | +`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current value of the slider next to it. +`readout_format` | string | `'d'` | Format for the readout +`step` | number (integer) | `1` | Minimum step to increment the value +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### IntTextModel (@jupyter-widgets/controls, 2.0.0); IntTextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntTextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntTextView'` | -| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `step` | number (integer) | `1` | Minimum step to increment the value | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntTextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntTextView'` | +`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`step` | number (integer) | `1` | Minimum step to increment the value +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### IntsInputModel (@jupyter-widgets/controls, 2.0.0); IntsInputView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'IntsInputModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'IntsInputView'` | -| `allow_duplicates` | boolean | `true` | -| `allowed_tags` | array | `[]` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `format` | string | `'d'` | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or number (integer) | `null` | -| `min` | `null` or number (integer) | `null` | -| `placeholder` | string | `'\u200b'` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[]` | List of int tags | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'IntsInputModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'IntsInputView'` | +`allow_duplicates` | boolean | `true` | +`allowed_tags` | array | `[]` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`format` | string | `'d'` | +`layout` | reference to Layout widget | reference to new instance | +`max` | `null` or number (integer) | `null` | +`min` | `null` or number (integer) | `null` | +`placeholder` | string | `'\u200b'` | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array | `[]` | List of int tags ### LabelModel (@jupyter-widgets/controls, 2.0.0); LabelView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------ | ----------------------------- | ------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'LabelModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'LabelView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to LabelStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'LabelModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'LabelView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to LabelStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### LabelStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'LabelStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_family` | `null` or string | `null` | Label text font family. | -| `font_size` | `null` or string | `null` | Text font size. | -| `font_style` | `null` or string | `null` | Label text font style. | -| `font_variant` | `null` or string | `null` | Label text font variant. | -| `font_weight` | `null` or string | `null` | Label text font weight. | -| `text_color` | `null` or string | `null` | Text color | -| `text_decoration` | `null` or string | `null` | Label text decoration. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'LabelStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`background` | `null` or string | `null` | Background specifications. +`description_width` | string | `''` | Width of the description to the side of the control. +`font_family` | `null` or string | `null` | Label text font family. +`font_size` | `null` or string | `null` | Text font size. +`font_style` | `null` or string | `null` | Label text font style. +`font_variant` | `null` or string | `null` | Label text font variant. +`font_weight` | `null` or string | `null` | Label text font weight. +`text_color` | `null` or string | `null` | Text color +`text_decoration` | `null` or string | `null` | Label text decoration. ### LinkModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | -------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'LinkModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | `null` or string | `null` | Name of the view. | -| `source` | array | `[]` | The source (widget, 'trait_name') pair | -| `target` | array | `[]` | The target (widget, 'trait_name') pair | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'LinkModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | `null` or string | `null` | Name of the view. +`source` | array | `[]` | The source (widget, 'trait_name') pair +`target` | array | `[]` | The target (widget, 'trait_name') pair ### NaiveDatetimeModel (@jupyter-widgets/controls, 2.0.0); DatetimeView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'NaiveDatetimeModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'DatetimeView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or Datetime | `null` | -| `min` | `null` or Datetime | `null` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | `null` or Datetime | `null` | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'NaiveDatetimeModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'DatetimeView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`max` | `null` or Datetime | `null` | +`min` | `null` or Datetime | `null` | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | `null` or Datetime | `null` | ### PasswordModel (@jupyter-widgets/controls, 2.0.0); PasswordView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'PasswordModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'PasswordView'` | -| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to TextStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'PasswordModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'PasswordView'` | +`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to TextStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### PlayModel (@jupyter-widgets/controls, 2.0.0); PlayView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'PlayModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'PlayView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `interval` | number (integer) | `100` | The time between two animation steps (ms). | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | number (integer) | `100` | Max value | -| `min` | number (integer) | `0` | Min value | -| `playing` | boolean | `false` | Whether the control is currently playing. | -| `repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. | -| `show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. | -| `step` | number (integer) | `1` | Increment step | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | number (integer) | `0` | Int value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'PlayModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'PlayView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`interval` | number (integer) | `100` | The time between two animation steps (ms). +`layout` | reference to Layout widget | reference to new instance | +`max` | number (integer) | `100` | Max value +`min` | number (integer) | `0` | Min value +`playing` | boolean | `false` | Whether the control is currently playing. +`repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. +`show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. +`step` | number (integer) | `1` | Increment step +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | number (integer) | `0` | Int value ### ProgressStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ProgressStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `bar_color` | `null` or string | `null` | Color of the progress bar. | -| `description_width` | string | `''` | Width of the description to the side of the control. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ProgressStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`bar_color` | `null` or string | `null` | Color of the progress bar. +`description_width` | string | `''` | Width of the description to the side of the control. ### RadioButtonsModel (@jupyter-widgets/controls, 2.0.0); RadioButtonsView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'RadioButtonsModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'RadioButtonsView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | `null` or number (integer) | `null` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'RadioButtonsModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'RadioButtonsView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | `null` or number (integer) | `null` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SelectModel (@jupyter-widgets/controls, 2.0.0); SelectView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SelectModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'SelectView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | `null` or number (integer) | `null` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `rows` | number (integer) | `5` | The number of rows to display. | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SelectModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'SelectView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | `null` or number (integer) | `null` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`rows` | number (integer) | `5` | The number of rows to display. +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SelectMultipleModel (@jupyter-widgets/controls, 2.0.0); SelectMultipleView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SelectMultipleModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'SelectMultipleView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | array of number (integer) | `[]` | Selected indices | -| `layout` | reference to Layout widget | reference to new instance | -| `rows` | number (integer) | `5` | The number of rows to display. | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SelectMultipleModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'SelectMultipleView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | array of number (integer) | `[]` | Selected indices +`layout` | reference to Layout widget | reference to new instance | +`rows` | number (integer) | `5` | The number of rows to display. +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SelectionRangeSliderModel (@jupyter-widgets/controls, 2.0.0); SelectionRangeSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SelectionRangeSliderModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'SelectionRangeSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | array | `[0, 0]` | Min and max selected indices | -| `layout` | reference to Layout widget | reference to new instance | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current selected label next to the slider | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SelectionRangeSliderModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'SelectionRangeSliderView'` | +`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | array | `[0, 0]` | Min and max selected indices +`layout` | reference to Layout widget | reference to new instance | +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current selected label next to the slider +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SelectionSliderModel (@jupyter-widgets/controls, 2.0.0); SelectionSliderView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SelectionSliderModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'SelectionSliderView'` | -| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | -| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `index` | number (integer) | `0` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | -| `readout` | boolean | `true` | Display the current selected label next to the slider | -| `style` | reference to SliderStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SelectionSliderModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'SelectionSliderView'` | +`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. +`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`index` | number (integer) | `0` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. +`readout` | boolean | `true` | Display the current selected label next to the slider +`style` | reference to SliderStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### SliderStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'SliderStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `handle_color` | `null` or string | `null` | Color of the slider handle. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'SliderStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`description_width` | string | `''` | Width of the description to the side of the control. +`handle_color` | `null` or string | `null` | Color of the slider handle. ### StackModel (@jupyter-widgets/controls, 2.0.0); StackView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'StackModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StackView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `titles` | array of string | `[]` | Titles of the pages | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'StackModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StackView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`titles` | array of string | `[]` | Titles of the pages +`tooltip` | `null` or string | `null` | A tooltip caption. ### TabModel (@jupyter-widgets/controls, 2.0.0); TabView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TabModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TabView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `titles` | array of string | `[]` | Titles of the pages | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TabModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'TabView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`titles` | array of string | `[]` | Titles of the pages +`tooltip` | `null` or string | `null` | A tooltip caption. ### TagsInputModel (@jupyter-widgets/controls, 2.0.0); TagsInputView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TagsInputModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TagsInputView'` | -| `allow_duplicates` | boolean | `true` | -| `allowed_tags` | array | `[]` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | array | `[]` | List of string tags | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TagsInputModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'TagsInputView'` | +`allow_duplicates` | boolean | `true` | +`allowed_tags` | array | `[]` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | array | `[]` | List of string tags ### TextModel (@jupyter-widgets/controls, 2.0.0); TextView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TextModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TextView'` | -| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `style` | reference to TextStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TextModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'TextView'` | +`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`style` | reference to TextStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### TextStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TextStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `background` | `null` or string | `null` | Background specifications. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_size` | `null` or string | `null` | Text font size. | -| `text_color` | `null` or string | `null` | Text color | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TextStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`background` | `null` or string | `null` | Background specifications. +`description_width` | string | `''` | Width of the description to the side of the control. +`font_size` | `null` or string | `null` | Text font size. +`text_color` | `null` or string | `null` | Text color ### TextareaModel (@jupyter-widgets/controls, 2.0.0); TextareaView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TextareaModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TextareaView'` | -| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `layout` | reference to Layout widget | reference to new instance | -| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | -| `rows` | `null` or number (integer) | `null` | The number of rows to display. | -| `style` | reference to TextStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | string | `''` | String value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TextareaModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'TextareaView'` | +`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`layout` | reference to Layout widget | reference to new instance | +`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed +`rows` | `null` or number (integer) | `null` | The number of rows to display. +`style` | reference to TextStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | string | `''` | String value ### TimeModel (@jupyter-widgets/controls, 2.0.0); TimeView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ----------------------------------------- | ----------------------------- | ---------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'TimeModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'TimeView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `max` | `null` or Time | `null` | -| `min` | `null` or Time | `null` | -| `step` | number (float) or string (one of `'any'`) | `60` | The time step to use for the picker, in seconds, or "any". | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | `null` or Time | `null` | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'TimeModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'TimeView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`max` | `null` or Time | `null` | +`min` | `null` or Time | `null` | +`step` | number (float) or string (one of `'any'`) | `60` | The time step to use for the picker, in seconds, or "any". +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | `null` or Time | `null` | ### ToggleButtonModel (@jupyter-widgets/controls, 2.0.0); ToggleButtonView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ToggleButtonModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ToggleButtonView'` | -| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `icon` | string | `''` | Font-awesome icon. | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to ToggleButtonStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | boolean | `false` | Bool value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ToggleButtonModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ToggleButtonView'` | +`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes. +`icon` | string | `''` | Font-awesome icon. +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to ToggleButtonStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | boolean | `false` | Bool value ### ToggleButtonStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ToggleButtonStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_family` | `null` or string | `null` | Toggle button text font family. | -| `font_size` | `null` or string | `null` | Toggle button text font size. | -| `font_style` | `null` or string | `null` | Toggle button text font style. | -| `font_variant` | `null` or string | `null` | Toggle button text font variant. | -| `font_weight` | `null` or string | `null` | Toggle button text font weight. | -| `text_color` | `null` or string | `null` | Toggle button text color | -| `text_decoration` | `null` or string | `null` | Toggle button text decoration. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ToggleButtonStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`description_width` | string | `''` | Width of the description to the side of the control. +`font_family` | `null` or string | `null` | Toggle button text font family. +`font_size` | `null` or string | `null` | Toggle button text font size. +`font_style` | `null` or string | `null` | Toggle button text font style. +`font_variant` | `null` or string | `null` | Toggle button text font variant. +`font_weight` | `null` or string | `null` | Toggle button text font weight. +`text_color` | `null` or string | `null` | Toggle button text color +`text_decoration` | `null` or string | `null` | Toggle button text decoration. ### ToggleButtonsModel (@jupyter-widgets/controls, 2.0.0); ToggleButtonsView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ToggleButtonsModel'` | -| `_options_labels` | array of string | `[]` | The labels for the options. | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ToggleButtonsView'` | -| `button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes | -| `icons` | array of string | `[]` | Icons names for each button (FontAwesome names without the fa- prefix). | -| `index` | `null` or number (integer) | `null` | Selected index | -| `layout` | reference to Layout widget | reference to new instance | -| `style` | reference to ToggleButtonsStyle widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `tooltips` | array of string | `[]` | Tooltips for each button. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ToggleButtonsModel'` | +`_options_labels` | array of string | `[]` | The labels for the options. +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ToggleButtonsView'` | +`button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes +`icons` | array of string | `[]` | Icons names for each button (FontAwesome names without the fa- prefix). +`index` | `null` or number (integer) | `null` | Selected index +`layout` | reference to Layout widget | reference to new instance | +`style` | reference to ToggleButtonsStyle widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`tooltips` | array of string | `[]` | Tooltips for each button. ### ToggleButtonsStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | ------ | ----------------------------- | ---------------------------------------------------- | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ToggleButtonsStyleModel'` | -| `_view_module` | string | `'@jupyter-widgets/base'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'StyleView'` | -| `button_width` | string | `''` | The width of each button. | -| `description_width` | string | `''` | Width of the description to the side of the control. | -| `font_weight` | string | `''` | Text font weight of each button. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ToggleButtonsStyleModel'` | +`_view_module` | string | `'@jupyter-widgets/base'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'StyleView'` | +`button_width` | string | `''` | The width of each button. +`description_width` | string | `''` | Width of the description to the side of the control. +`font_weight` | string | `''` | Text font weight of each button. ### VBoxModel (@jupyter-widgets/controls, 2.0.0); VBoxView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'VBoxModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'VBoxView'` | -| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | -| `children` | array of reference to Widget widget | `[]` | List of widget children | -| `layout` | reference to Layout widget | reference to new instance | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'VBoxModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'VBoxView'` | +`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. +`children` | array of reference to Widget widget | `[]` | List of widget children +`layout` | reference to Layout widget | reference to new instance | +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. ### ValidModel (@jupyter-widgets/controls, 2.0.0); ValidView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'ValidModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'ValidView'` | -| `description` | string | `''` | Description of the control. | -| `description_allow_html` | boolean | `false` | Accept HTML in the description. | -| `disabled` | boolean | `false` | Enable or disable user changes. | -| `layout` | reference to Layout widget | reference to new instance | -| `readout` | string | `'Invalid'` | Message displayed when the value is False | -| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | boolean | `false` | Bool value | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'ValidModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'ValidView'` | +`description` | string | `''` | Description of the control. +`description_allow_html` | boolean | `false` | Accept HTML in the description. +`disabled` | boolean | `false` | Enable or disable user changes. +`layout` | reference to Layout widget | reference to new instance | +`readout` | string | `'Invalid'` | Message displayed when the value is False +`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | boolean | `false` | Bool value ### VideoModel (@jupyter-widgets/controls, 2.0.0); VideoView (@jupyter-widgets/controls, 2.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/controls'` | -| `_model_module_version` | string | `'2.0.0'` | -| `_model_name` | string | `'VideoModel'` | -| `_view_module` | string | `'@jupyter-widgets/controls'` | -| `_view_module_version` | string | `'2.0.0'` | -| `_view_name` | string | `'VideoView'` | -| `autoplay` | boolean | `true` | When true, the video starts when it's displayed | -| `controls` | boolean | `true` | Specifies that video controls should be displayed (such as a play/pause button etc) | -| `format` | string | `'mp4'` | The format of the video. | -| `height` | string | `''` | Height of the video in pixels. | -| `layout` | reference to Layout widget | reference to new instance | -| `loop` | boolean | `true` | When true, the video will start from the beginning after finishing | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | -| `value` | Bytes | `b''` | The media data as a memory view of bytes. | -| `width` | string | `''` | Width of the video in pixels. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/controls'` | +`_model_module_version` | string | `'2.0.0'` | +`_model_name` | string | `'VideoModel'` | +`_view_module` | string | `'@jupyter-widgets/controls'` | +`_view_module_version` | string | `'2.0.0'` | +`_view_name` | string | `'VideoView'` | +`autoplay` | boolean | `true` | When true, the video starts when it's displayed +`controls` | boolean | `true` | Specifies that video controls should be displayed (such as a play/pause button etc) +`format` | string | `'mp4'` | The format of the video. +`height` | string | `''` | Height of the video in pixels. +`layout` | reference to Layout widget | reference to new instance | +`loop` | boolean | `true` | When true, the video will start from the beginning after finishing +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. +`value` | Bytes | `b''` | The media data as a memory view of bytes. +`width` | string | `''` | Width of the video in pixels. ### OutputModel (@jupyter-widgets/output, 1.0.0); OutputView (@jupyter-widgets/output, 1.0.0) -| Attribute | Type | Default | Help | -| ----------------------- | -------------------------- | --------------------------- | --------------------------------------------- | -| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | -| `_model_module` | string | `'@jupyter-widgets/output'` | -| `_model_module_version` | string | `'1.0.0'` | -| `_model_name` | string | `'OutputModel'` | -| `_view_module` | string | `'@jupyter-widgets/output'` | -| `_view_module_version` | string | `'1.0.0'` | -| `_view_name` | string | `'OutputView'` | -| `layout` | reference to Layout widget | reference to new instance | -| `msg_id` | string | `''` | Parent message id of messages to capture | -| `outputs` | array of object | `[]` | The output messages synced from the frontend. | -| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | -| `tooltip` | `null` or string | `null` | A tooltip caption. | +Attribute | Type | Default | Help +-----------------|------------------|------------------|---- +`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element +`_model_module` | string | `'@jupyter-widgets/output'` | +`_model_module_version` | string | `'1.0.0'` | +`_model_name` | string | `'OutputModel'` | +`_view_module` | string | `'@jupyter-widgets/output'` | +`_view_module_version` | string | `'1.0.0'` | +`_view_name` | string | `'OutputView'` | +`layout` | reference to Layout widget | reference to new instance | +`msg_id` | string | `''` | Parent message id of messages to capture +`outputs` | array of object | `[]` | The output messages synced from the frontend. +`tabbable` | `null` or boolean | `null` | Is widget tabbable? +`tooltip` | `null` or string | `null` | A tooltip caption. + diff --git a/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-40-linux.png b/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-40-linux.png index 55f4ca06b06dcf0bf9aef97b930be176e879aa06..3174f7d2bdd9a629d2ff7f961a5b2d895dc99ca8 100644 GIT binary patch delta 1431 zcmV;I1!(&142TVoF@HiyL_t(|obB9yNR)Q~$MMg3k*h3L=PkvRcr)Cg6iV&u|GzPDQgVfA4@lBN{fijMY(khL_tbAvNUZ;Ixn*8 zI-mU!lfq2DrKh>~>o4#7e4pp}`rn)H^W51i%d!Lj004|o#0YpV00000PZyJ61TlY+ zF$u^n@9*-w|GLf=tk?BFPmSueTdRN2*@7&c+K{2XYi*-?Z2$lO3~$VKAS0vaYS~vm z$@$7_4?TXXXu{vj@h{m+sdepXTV)h77g-^8KLm;xpgV(t{OavSt7P01R(@ z9${PkI$ye9QSpg`4n@T$DrwU;&6t1Z3j4A`p^%D;i%+CtE+3s`Bha_ z%FfPKYHF&MELozwygd1QzA&yB001ET#w8%ze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jpJsZRH~x{&M+8E`{YSakm*MFnH;m#F)4WO+L9=+W~4fpy?be8r3{djl$2D=J8}xH zO@nYyPY+3~y3q06W58L60w{nWM)nS;UGR}crwfxS!qDiRX%00jJDW1uNy3U3Chc8Z zJS{B~b^IDj0XLYgjwQ-%k&F>NuIcORD*>z>^5M@vZl$F`Geh@lX-QLGf^J%VUM^Nu zCHaTjZBea*g{HA6qPxF;#oF4Ml3)|T@Kd-IE};wr2XN4>)YKj+MU!LXT%gFXO32@z z91t?`BE#O!u6Epv)!HJC0(8!eop0LP^+#Kq197X2Oh1=<6fT^d_1N=mPPgf%-gD(; z{bTZ$fV}M;9rInydCAW~`~WM|`7p*F<_}c{I}n#=M-H^`D*DSjJN2EKzHEFde%p}W z9-9LaIQ_Kqld3BH9m>iFwYAZ#xH@jA*1mnE)zu!8larCB)Q4N*Tk@T$1(&B(qVag) zN47bsbF%mI3Qw1#A3gR=!o$M@-B0(pb?X*!@wIYo>$oc(zkCA=(!FN4%^vF6h=>m* zH*Dc@fQgc~so?|<2y`YB1+=`YLhb_awBUh(fhU~wYJFWpLm3Z?i#^=j$d$ot48Yd= zw{zFJ3e7b~y=6hg9m?ytLfJ=q`0&Tt*V};SHgp=z&Cjo3pUv0NQ%Pd8M6>^zL%;d2 z!q-6-4u;jg2iagfCysoy60oqkaZXNc)6%-)dly};l*6yqfdqkDJ6ka<&Rzc>RC{ZF diff --git a/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-43-linux.png b/ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-43-linux.png index 0a8ff3946396abdcc380a8ed25255a9bd5e98607..e6d517b47a6b280750dcf785e16d615f0295e831 100644 GIT binary patch delta 2313 zcmV+k3HJ7(6uT6VF@N<*L_t(|obBCzOqBNl$MMer7eNnfbETx>QoM;ARg!A8Y#7PJ zb!wxbtF98)b+l8##4ZDP+ZfbSlt+@kHBinEaVa;RH@ba zt6%|pz~qCOM5cVkn8@L!w&cP+jQx#rJCeU8h__tBUe{f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Vh`7XRE|SYQYc4J|%g#;y_3P)W;9xx; zpGu})hY$|a4#dFRI#YVUFfl<~3_?4|&V;UBz0=m#Mojzg;o=}T?Zn5X2t@M6X+?J> z07z(Y>iCw{JGrdX)U(W74YI#iFJJ0_7YyT-g|J7>)60t?h+caMS=e&-T_+}})C6(% zeE$>xLfi^DxU{%fs1>~%;fFj(`cQEurz^X)wbgEjT2!P@jEanW4?@MDA8I&Cr)SB| zmMQ_3gW-;l8pf%meGiZvJ)&kqyGoaG2UjO370YDgXS1|-6>O{z} zTvw)zFuEEVp|BHK*V{0QQ}@{_P8JyFG2^FokWwkW#y2eB12F8zxVdeI$ET++VAM1; zuo%osfOiq7-lzS@A|nslYqvMdB3S$ziuC-b-gofSd7u}t4><50Ae))r1_Mm7Z95A= zh#lY;GfS6W9pDFvPT28H&&aR?V=VBY>d-2RQEok7Mkl`K!T z4KC_m&mpUddiypDzp)|&Iua854=5OMOrUu$lFJn!qM@cn3EqH5?0^b`IZuPU6TdbV zo2YvPm`35kzQqV)T2$0gAaZv#v}kx44CEw^DLY~w8Lyk~`A>quzo6x+yW6gk)ZE-$ zvKTD(y&Mqm Date: Sun, 16 Jul 2023 15:19:48 -0500 Subject: [PATCH 15/16] format files to pass lint --- packages/controls/src/widget_dragdrop.ts | 290 +- packages/schema/jupyterwidgetmodels.latest.md | 2552 ++++++++--------- 2 files changed, 1423 insertions(+), 1419 deletions(-) diff --git a/packages/controls/src/widget_dragdrop.ts b/packages/controls/src/widget_dragdrop.ts index 243c5f961c..20a49171b1 100644 --- a/packages/controls/src/widget_dragdrop.ts +++ b/packages/controls/src/widget_dragdrop.ts @@ -1,172 +1,178 @@ // Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. -import { - CoreDOMWidgetModel -} from './widget_core'; +import { CoreDOMWidgetModel } from './widget_core'; import { - DOMWidgetView, unpack_models, WidgetModel, WidgetView, JupyterLuminoPanelWidget, reject + DOMWidgetView, + unpack_models, + WidgetModel, + WidgetView, + JupyterLuminoPanelWidget, + reject, } from '@jupyter-widgets/base'; import $ from 'jquery'; -export -class DraggableBoxModel extends CoreDOMWidgetModel { - defaults(): Backbone.ObjectHash { - return { - ...super.defaults(), - _view_name: 'DraggableBoxView', - _model_name: 'DraggableBoxModel', - child: null, - draggable: true, - drag_data: {} - }; - } - - static serializers = { - ...CoreDOMWidgetModel.serializers, - child: {deserialize: unpack_models} +export class DraggableBoxModel extends CoreDOMWidgetModel { + defaults(): Backbone.ObjectHash { + return { + ...super.defaults(), + _view_name: 'DraggableBoxView', + _model_name: 'DraggableBoxModel', + child: null, + draggable: true, + drag_data: {}, }; -} + } -export -class DropBoxModel extends CoreDOMWidgetModel { - defaults(): Backbone.ObjectHash { - return { - ...super.defaults(), - _view_name: 'DropBoxView', - _model_name: 'DropBoxModel', - child: null - }; - } + static serializers = { + ...CoreDOMWidgetModel.serializers, + child: { deserialize: unpack_models }, + }; +} - static serializers = { - ...CoreDOMWidgetModel.serializers, - child: {deserialize: unpack_models} +export class DropBoxModel extends CoreDOMWidgetModel { + defaults(): Backbone.ObjectHash { + return { + ...super.defaults(), + _view_name: 'DropBoxView', + _model_name: 'DropBoxModel', + child: null, }; + } + + static serializers = { + ...CoreDOMWidgetModel.serializers, + child: { deserialize: unpack_models }, + }; } class DragDropBoxViewBase extends DOMWidgetView { - child_view: DOMWidgetView | null; - luminoWidget: JupyterLuminoPanelWidget; - - _createElement(tagName: string): HTMLElement { - this.luminoWidget = new JupyterLuminoPanelWidget({ view: this }); - return this.luminoWidget.node; - } - - _setElement(el: HTMLElement): void { - if (this.el || el !== this.luminoWidget.node) { - // Boxes don't allow setting the element beyond the initial creation. - throw new Error('Cannot reset the DOM element.'); + child_view: DOMWidgetView | null; + luminoWidget: JupyterLuminoPanelWidget; + + _createElement(tagName: string): HTMLElement { + this.luminoWidget = new JupyterLuminoPanelWidget({ view: this }); + return this.luminoWidget.node; + } + + _setElement(el: HTMLElement): void { + if (this.el || el !== this.luminoWidget.node) { + // Boxes don't allow setting the element beyond the initial creation. + throw new Error('Cannot reset the DOM element.'); + } + this.el = this.luminoWidget.node; + this.$el = $(this.luminoWidget.node); + } + + initialize(parameters: WidgetView.IInitializeParameters): void { + super.initialize(parameters); + this.add_child_model(this.model.get('child')); + this.listenTo(this.model, 'change:child', this.update_child); + + this.luminoWidget.addClass('jupyter-widgets'); + this.luminoWidget.addClass('widget-container'); + this.luminoWidget.addClass('widget-draggable-box'); + } + + add_child_model(model: WidgetModel): Promise { + return this.create_child_view(model) + .then((view: DOMWidgetView) => { + if (this.child_view && this.child_view !== null) { + this.child_view.remove(); } - this.el = this.luminoWidget.node; - this.$el = $(this.luminoWidget.node); - } - - initialize(parameters: WidgetView.IInitializeParameters): void { - super.initialize(parameters); - this.add_child_model(this.model.get('child')); - this.listenTo(this.model, 'change:child', this.update_child); - - this.luminoWidget.addClass('jupyter-widgets'); - this.luminoWidget.addClass('widget-container'); - this.luminoWidget.addClass('widget-draggable-box'); - } - - add_child_model(model: WidgetModel): Promise { - return this.create_child_view(model).then((view: DOMWidgetView) => { - if (this.child_view && this.child_view !== null) { - this.child_view.remove(); - } - this.luminoWidget.addWidget(view.luminoWidget); - this.child_view = view; - return view; - }).catch(reject('Could not add child view to box', true)); - } - - update_child(): void { - this.add_child_model(this.model.get('child')); - } - - remove(): void { - this.child_view = null; - super.remove(); - } + this.luminoWidget.addWidget(view.luminoWidget); + this.child_view = view; + return view; + }) + .catch(reject('Could not add child view to box', true)); + } + + update_child(): void { + this.add_child_model(this.model.get('child')); + } + + remove(): void { + this.child_view = null; + super.remove(); + } } const JUPYTER_VIEW_MIME = 'application/vnd.jupyter.widget-view+json'; -export -class DraggableBoxView extends DragDropBoxViewBase { - initialize(parameters: WidgetView.IInitializeParameters): void { - super.initialize(parameters); - this.dragSetup(); - } - - events(): {[e: string]: string} { - return {'dragstart' : 'on_dragstart'}; - } - - on_dragstart(event: DragEvent): void { - if (event.dataTransfer) { - if (this.model.get('child').get('value')) { - event.dataTransfer?.setData('text/plain', this.model.get('child').get('value')); - } - const drag_data = this.model.get('drag_data'); - for (const datatype in drag_data) { - event.dataTransfer.setData(datatype, drag_data[datatype]); - } - event.dataTransfer.setData(JUPYTER_VIEW_MIME, JSON.stringify({ - "model_id": this.model.model_id, - "version_major": 2, - "version_minor": 0 - })); - event.dataTransfer.dropEffect = 'copy'; - } - } - - dragSetup(): void { - this.el.draggable = this.model.get('draggable'); - this.model.on('change:draggable', this.on_change_draggable, this); - } - - on_change_draggable(): void { - this.el.draggable = this.model.get('draggable'); - } +export class DraggableBoxView extends DragDropBoxViewBase { + initialize(parameters: WidgetView.IInitializeParameters): void { + super.initialize(parameters); + this.dragSetup(); + } + + events(): { [e: string]: string } { + return { dragstart: 'on_dragstart' }; + } + + on_dragstart(event: DragEvent): void { + if (event.dataTransfer) { + if (this.model.get('child').get('value')) { + event.dataTransfer?.setData( + 'text/plain', + this.model.get('child').get('value') + ); + } + const drag_data = this.model.get('drag_data'); + for (const datatype in drag_data) { + event.dataTransfer.setData(datatype, drag_data[datatype]); + } + event.dataTransfer.setData( + JUPYTER_VIEW_MIME, + JSON.stringify({ + model_id: this.model.model_id, + version_major: 2, + version_minor: 0, + }) + ); + event.dataTransfer.dropEffect = 'copy'; + } + } + + dragSetup(): void { + this.el.draggable = this.model.get('draggable'); + this.model.on('change:draggable', this.on_change_draggable, this); + } + + on_change_draggable(): void { + this.el.draggable = this.model.get('draggable'); + } } -export -class DropBoxView extends DragDropBoxViewBase { - events(): {[e: string]: string} { - return { - 'drop': '_handle_drop', - 'dragover': 'on_dragover' - }; - } - - _handle_drop(event: DragEvent): void { - event.preventDefault(); +export class DropBoxView extends DragDropBoxViewBase { + events(): { [e: string]: string } { + return { + drop: '_handle_drop', + dragover: 'on_dragover', + }; + } - const datamap: {[e: string]: string} = {}; + _handle_drop(event: DragEvent): void { + event.preventDefault(); - if (event.dataTransfer) - { - for (let i=0; i < event.dataTransfer.types.length; i++) { - const t = event.dataTransfer.types[i]; - datamap[t] = event.dataTransfer?.getData(t); - } - } + const datamap: { [e: string]: string } = {}; - this.send({event: 'drop', data: datamap}); + if (event.dataTransfer) { + for (let i = 0; i < event.dataTransfer.types.length; i++) { + const t = event.dataTransfer.types[i]; + datamap[t] = event.dataTransfer?.getData(t); + } } - on_dragover(event: DragEvent): void { - event.preventDefault(); - event.stopPropagation(); - if (event.dataTransfer) { - event.dataTransfer.dropEffect = 'copy'; - } + this.send({ event: 'drop', data: datamap }); + } + + on_dragover(event: DragEvent): void { + event.preventDefault(); + event.stopPropagation(); + if (event.dataTransfer) { + event.dataTransfer.dropEffect = 'copy'; } + } } diff --git a/packages/schema/jupyterwidgetmodels.latest.md b/packages/schema/jupyterwidgetmodels.latest.md index eca3bb9e3e..ff73afa949 100644 --- a/packages/schema/jupyterwidgetmodels.latest.md +++ b/packages/schema/jupyterwidgetmodels.latest.md @@ -14,1492 +14,1490 @@ Each widget in the Jupyter core widgets is represented below. The heading represents the model name, module, and version, view name, module, and version that the widget is registered with. - ### LayoutModel (@jupyter-widgets/base, 2.0.0); LayoutView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/base'` | The namespace for the model. -`_model_module_version` | string | `'2.0.0'` | A semver requirement for namespace version containing the model. -`_model_name` | string | `'LayoutModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'LayoutView'` | -`align_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'space-evenly'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-content CSS attribute. -`align_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-items CSS attribute. -`align_self` | `null` or string (one of `'auto'`, `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-self CSS attribute. -`border_bottom` | `null` or string | `null` | The border bottom CSS attribute. -`border_left` | `null` or string | `null` | The border left CSS attribute. -`border_right` | `null` or string | `null` | The border right CSS attribute. -`border_top` | `null` or string | `null` | The border top CSS attribute. -`bottom` | `null` or string | `null` | The bottom CSS attribute. -`display` | `null` or string | `null` | The display CSS attribute. -`flex` | `null` or string | `null` | The flex CSS attribute. -`flex_flow` | `null` or string | `null` | The flex-flow CSS attribute. -`grid_area` | `null` or string | `null` | The grid-area CSS attribute. -`grid_auto_columns` | `null` or string | `null` | The grid-auto-columns CSS attribute. -`grid_auto_flow` | `null` or string (one of `'column'`, `'row'`, `'row dense'`, `'column dense'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The grid-auto-flow CSS attribute. -`grid_auto_rows` | `null` or string | `null` | The grid-auto-rows CSS attribute. -`grid_column` | `null` or string | `null` | The grid-column CSS attribute. -`grid_gap` | `null` or string | `null` | The grid-gap CSS attribute. -`grid_row` | `null` or string | `null` | The grid-row CSS attribute. -`grid_template_areas` | `null` or string | `null` | The grid-template-areas CSS attribute. -`grid_template_columns` | `null` or string | `null` | The grid-template-columns CSS attribute. -`grid_template_rows` | `null` or string | `null` | The grid-template-rows CSS attribute. -`height` | `null` or string | `null` | The height CSS attribute. -`justify_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-content CSS attribute. -`justify_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-items CSS attribute. -`left` | `null` or string | `null` | The left CSS attribute. -`margin` | `null` or string | `null` | The margin CSS attribute. -`max_height` | `null` or string | `null` | The max-height CSS attribute. -`max_width` | `null` or string | `null` | The max-width CSS attribute. -`min_height` | `null` or string | `null` | The min-height CSS attribute. -`min_width` | `null` or string | `null` | The min-width CSS attribute. -`object_fit` | `null` or string (one of `'contain'`, `'cover'`, `'fill'`, `'scale-down'`, `'none'`) | `null` | The object-fit CSS attribute. -`object_position` | `null` or string | `null` | The object-position CSS attribute. -`order` | `null` or string | `null` | The order CSS attribute. -`overflow` | `null` or string | `null` | The overflow CSS attribute. -`padding` | `null` or string | `null` | The padding CSS attribute. -`right` | `null` or string | `null` | The right CSS attribute. -`top` | `null` or string | `null` | The top CSS attribute. -`visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. -`width` | `null` or string | `null` | The width CSS attribute. +| Attribute | Type | Default | Help | +| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ---------------------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/base'` | The namespace for the model. | +| `_model_module_version` | string | `'2.0.0'` | A semver requirement for namespace version containing the model. | +| `_model_name` | string | `'LayoutModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'LayoutView'` | +| `align_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'space-evenly'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-content CSS attribute. | +| `align_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-items CSS attribute. | +| `align_self` | `null` or string (one of `'auto'`, `'flex-start'`, `'flex-end'`, `'center'`, `'baseline'`, `'stretch'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The align-self CSS attribute. | +| `border_bottom` | `null` or string | `null` | The border bottom CSS attribute. | +| `border_left` | `null` or string | `null` | The border left CSS attribute. | +| `border_right` | `null` or string | `null` | The border right CSS attribute. | +| `border_top` | `null` or string | `null` | The border top CSS attribute. | +| `bottom` | `null` or string | `null` | The bottom CSS attribute. | +| `display` | `null` or string | `null` | The display CSS attribute. | +| `flex` | `null` or string | `null` | The flex CSS attribute. | +| `flex_flow` | `null` or string | `null` | The flex-flow CSS attribute. | +| `grid_area` | `null` or string | `null` | The grid-area CSS attribute. | +| `grid_auto_columns` | `null` or string | `null` | The grid-auto-columns CSS attribute. | +| `grid_auto_flow` | `null` or string (one of `'column'`, `'row'`, `'row dense'`, `'column dense'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The grid-auto-flow CSS attribute. | +| `grid_auto_rows` | `null` or string | `null` | The grid-auto-rows CSS attribute. | +| `grid_column` | `null` or string | `null` | The grid-column CSS attribute. | +| `grid_gap` | `null` or string | `null` | The grid-gap CSS attribute. | +| `grid_row` | `null` or string | `null` | The grid-row CSS attribute. | +| `grid_template_areas` | `null` or string | `null` | The grid-template-areas CSS attribute. | +| `grid_template_columns` | `null` or string | `null` | The grid-template-columns CSS attribute. | +| `grid_template_rows` | `null` or string | `null` | The grid-template-rows CSS attribute. | +| `height` | `null` or string | `null` | The height CSS attribute. | +| `justify_content` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'space-between'`, `'space-around'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-content CSS attribute. | +| `justify_items` | `null` or string (one of `'flex-start'`, `'flex-end'`, `'center'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The justify-items CSS attribute. | +| `left` | `null` or string | `null` | The left CSS attribute. | +| `margin` | `null` or string | `null` | The margin CSS attribute. | +| `max_height` | `null` or string | `null` | The max-height CSS attribute. | +| `max_width` | `null` or string | `null` | The max-width CSS attribute. | +| `min_height` | `null` or string | `null` | The min-height CSS attribute. | +| `min_width` | `null` or string | `null` | The min-width CSS attribute. | +| `object_fit` | `null` or string (one of `'contain'`, `'cover'`, `'fill'`, `'scale-down'`, `'none'`) | `null` | The object-fit CSS attribute. | +| `object_position` | `null` or string | `null` | The object-position CSS attribute. | +| `order` | `null` or string | `null` | The order CSS attribute. | +| `overflow` | `null` or string | `null` | The overflow CSS attribute. | +| `padding` | `null` or string | `null` | The padding CSS attribute. | +| `right` | `null` or string | `null` | The right CSS attribute. | +| `top` | `null` or string | `null` | The top CSS attribute. | +| `visibility` | `null` or string (one of `'visible'`, `'hidden'`, `'inherit'`, `'initial'`, `'unset'`) | `null` | The visibility CSS attribute. | +| `width` | `null` or string | `null` | The width CSS attribute. | ### AccordionModel (@jupyter-widgets/controls, 2.0.0); AccordionView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'AccordionModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'AccordionView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`titles` | array of string | `[]` | Titles of the pages -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'AccordionModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'AccordionView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `titles` | array of string | `[]` | Titles of the pages | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### AudioModel (@jupyter-widgets/controls, 2.0.0); AudioView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'AudioModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'AudioView'` | -`autoplay` | boolean | `true` | When true, the audio starts when it's displayed -`controls` | boolean | `true` | Specifies that audio controls should be displayed (such as a play/pause button etc) -`format` | string | `'mp3'` | The format of the audio. -`layout` | reference to Layout widget | reference to new instance | -`loop` | boolean | `true` | When true, the audio will start from the beginning after finishing -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | Bytes | `b''` | The media data as a memory view of bytes. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'AudioModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'AudioView'` | +| `autoplay` | boolean | `true` | When true, the audio starts when it's displayed | +| `controls` | boolean | `true` | Specifies that audio controls should be displayed (such as a play/pause button etc) | +| `format` | string | `'mp3'` | The format of the audio. | +| `layout` | reference to Layout widget | reference to new instance | +| `loop` | boolean | `true` | When true, the audio will start from the beginning after finishing | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | Bytes | `b''` | The media data as a memory view of bytes. | ### BoundedFloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'BoundedFloatTextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatTextView'` | -`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `100.0` | Max value -`min` | number (float) | `0.0` | Min value -`step` | `null` or number (float) | `null` | Minimum step to increment the value -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | Float value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'BoundedFloatTextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatTextView'` | +| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `100.0` | Max value | +| `min` | number (float) | `0.0` | Min value | +| `step` | `null` or number (float) | `null` | Minimum step to increment the value | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | Float value | ### BoundedIntTextModel (@jupyter-widgets/controls, 2.0.0); IntTextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'BoundedIntTextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntTextView'` | -`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`step` | number (integer) | `1` | Minimum step to increment the value -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'BoundedIntTextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntTextView'` | +| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `step` | number (integer) | `1` | Minimum step to increment the value | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### BoxModel (@jupyter-widgets/controls, 2.0.0); BoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'BoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'BoxView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'BoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'BoxView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### ButtonModel (@jupyter-widgets/controls, 2.0.0); ButtonView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ButtonModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ButtonView'` | -`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. -`description` | string | `''` | Button label. -`disabled` | boolean | `false` | Enable or disable user changes. -`icon` | string | `''` | Font-awesome icon names, without the 'fa-' prefix. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to ButtonStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | --------------------------------------------------------------------------------- | ----------------------------- | -------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ButtonModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ButtonView'` | +| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | +| `description` | string | `''` | Button label. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `icon` | string | `''` | Font-awesome icon names, without the 'fa-' prefix. | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to ButtonStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### ButtonStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ButtonStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`button_color` | `null` or string | `null` | Color of the button -`font_family` | `null` or string | `null` | Button text font family. -`font_size` | `null` or string | `null` | Button text font size. -`font_style` | `null` or string | `null` | Button text font style. -`font_variant` | `null` or string | `null` | Button text font variant. -`font_weight` | `null` or string | `null` | Button text font weight. -`text_color` | `null` or string | `null` | Button text color. -`text_decoration` | `null` or string | `null` | Button text decoration. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ButtonStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `button_color` | `null` or string | `null` | Color of the button | +| `font_family` | `null` or string | `null` | Button text font family. | +| `font_size` | `null` or string | `null` | Button text font size. | +| `font_style` | `null` or string | `null` | Button text font style. | +| `font_variant` | `null` or string | `null` | Button text font variant. | +| `font_weight` | `null` or string | `null` | Button text font weight. | +| `text_color` | `null` or string | `null` | Button text color. | +| `text_decoration` | `null` or string | `null` | Button text decoration. | ### CheckboxModel (@jupyter-widgets/controls, 2.0.0); CheckboxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'CheckboxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'CheckboxView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes. -`indent` | boolean | `true` | Indent the control to align with other controls with a description. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to CheckboxStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | boolean | `false` | Bool value +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------- | ----------------------------- | ------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'CheckboxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'CheckboxView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `indent` | boolean | `true` | Indent the control to align with other controls with a description. | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to CheckboxStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | boolean | `false` | Bool value | ### CheckboxStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'CheckboxStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`background` | `null` or string | `null` | Background specifications. -`description_width` | string | `''` | Width of the description to the side of the control. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'CheckboxStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | ### ColorPickerModel (@jupyter-widgets/controls, 2.0.0); ColorPickerView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ColorPickerModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ColorPickerView'` | -`concise` | boolean | `false` | Display short version with just a color selector. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `'black'` | The color value. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ColorPickerModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ColorPickerView'` | +| `concise` | boolean | `false` | Display short version with just a color selector. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `'black'` | The color value. | ### ColorsInputModel (@jupyter-widgets/controls, 2.0.0); ColorsInputView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ColorsInputModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ColorsInputView'` | -`allow_duplicates` | boolean | `true` | -`allowed_tags` | array | `[]` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array | `[]` | List of string tags +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ColorsInputModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ColorsInputView'` | +| `allow_duplicates` | boolean | `true` | +| `allowed_tags` | array | `[]` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[]` | List of string tags | ### ComboboxModel (@jupyter-widgets/controls, 2.0.0); ComboboxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ComboboxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ComboboxView'` | -`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`ensure_option` | boolean | `false` | If set, ensure value is in options. Implies continuous_update=False. -`layout` | reference to Layout widget | reference to new instance | -`options` | array of string | `[]` | Dropdown options for the combobox -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to TextStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ComboboxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ComboboxView'` | +| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `ensure_option` | boolean | `false` | If set, ensure value is in options. Implies continuous_update=False. | +| `layout` | reference to Layout widget | reference to new instance | +| `options` | array of string | `[]` | Dropdown options for the combobox | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to TextStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | ### ControllerAxisModel (@jupyter-widgets/controls, 2.0.0); ControllerAxisView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ControllerAxisModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ControllerAxisView'` | -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | The value of the axis. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ControllerAxisModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ControllerAxisView'` | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | The value of the axis. | ### ControllerButtonModel (@jupyter-widgets/controls, 2.0.0); ControllerButtonView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ControllerButtonModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ControllerButtonView'` | -`layout` | reference to Layout widget | reference to new instance | -`pressed` | boolean | `false` | Whether the button is pressed. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | The value of the button. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ControllerButtonModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ControllerButtonView'` | +| `layout` | reference to Layout widget | reference to new instance | +| `pressed` | boolean | `false` | Whether the button is pressed. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | The value of the button. | ### ControllerModel (@jupyter-widgets/controls, 2.0.0); ControllerView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ControllerModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ControllerView'` | -`axes` | array of reference to Axis widget | `[]` | The axes on the gamepad. -`buttons` | array of reference to Button widget | `[]` | The buttons on the gamepad. -`connected` | boolean | `false` | Whether the gamepad is connected. -`index` | number (integer) | `0` | The id number of the controller. -`layout` | reference to Layout widget | reference to new instance | -`mapping` | string | `''` | The name of the control mapping. -`name` | string | `''` | The name of the controller. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | ----------------------------------- | ----------------------------- | ----------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ControllerModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ControllerView'` | +| `axes` | array of reference to Axis widget | `[]` | The axes on the gamepad. | +| `buttons` | array of reference to Button widget | `[]` | The buttons on the gamepad. | +| `connected` | boolean | `false` | Whether the gamepad is connected. | +| `index` | number (integer) | `0` | The id number of the controller. | +| `layout` | reference to Layout widget | reference to new instance | +| `mapping` | string | `''` | The name of the control mapping. | +| `name` | string | `''` | The name of the controller. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `timestamp` | number (float) | `0.0` | The last time the data from this gamepad was updated. | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### DOMWidgetModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DOMWidgetModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | `null` or string | `null` | Name of the view. -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | Bytes | `b''` | The media data as a memory view of bytes. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DOMWidgetModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | `null` or string | `null` | Name of the view. | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | Bytes | `b''` | The media data as a memory view of bytes. | ### DatePickerModel (@jupyter-widgets/controls, 2.0.0); DatePickerView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DatePickerModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DatePickerView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`max` | `null` or Date | `null` | -`min` | `null` or Date | `null` | -`step` | number (integer) or string (one of `'any'`) | `1` | The date step to use for the picker, in days, or "any". -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | `null` or Date | `null` | +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------- | ----------------------------- | ------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DatePickerModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DatePickerView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or Date | `null` | +| `min` | `null` or Date | `null` | +| `step` | number (integer) or string (one of `'any'`) | `1` | The date step to use for the picker, in days, or "any". | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | `null` or Date | `null` | ### DatetimeModel (@jupyter-widgets/controls, 2.0.0); DatetimeView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DatetimeModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DatetimeView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`max` | `null` or Datetime | `null` | -`min` | `null` or Datetime | `null` | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | `null` or Datetime | `null` | +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DatetimeModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DatetimeView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or Datetime | `null` | +| `min` | `null` or Datetime | `null` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | `null` or Datetime | `null` | ### DescriptionStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DescriptionStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`description_width` | string | `''` | Width of the description to the side of the control. +| Attribute | Type | Default | Help | +| ----------------------- | ------ | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DescriptionStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `description_width` | string | `''` | Width of the description to the side of the control. | ### DirectionalLinkModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DirectionalLinkModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | `null` or string | `null` | Name of the view. -`source` | array | `[]` | The source (widget, 'trait_name') pair -`target` | array | `[]` | The target (widget, 'trait_name') pair +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | -------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DirectionalLinkModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | `null` or string | `null` | Name of the view. | +| `source` | array | `[]` | The source (widget, 'trait_name') pair | +| `target` | array | `[]` | The target (widget, 'trait_name') pair | ### DraggableBoxModel (@jupyter-widgets/controls, 2.0.0); DraggableBoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DraggableBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DraggableBoxView'` | -`child` | `null` or reference to Widget widget | reference to new instance | -`drag_data` | object | `{}` | -`draggable` | boolean | `true` | -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DraggableBoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DraggableBoxView'` | +| `child` | `null` or reference to Widget widget | reference to new instance | +| `drag_data` | object | `{}` | +| `draggable` | boolean | `true` | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### DropBoxModel (@jupyter-widgets/controls, 2.0.0); DropBoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DropBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DropBoxView'` | -`child` | `null` or reference to Widget widget | reference to new instance | -`drag_data` | object | `{}` | -`draggable` | boolean | `false` | -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DropBoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DropBoxView'` | +| `child` | `null` or reference to Widget widget | reference to new instance | +| `drag_data` | object | `{}` | +| `draggable` | boolean | `false` | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### DropdownModel (@jupyter-widgets/controls, 2.0.0); DropdownView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'DropdownModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DropdownView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | `null` or number (integer) | `null` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'DropdownModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DropdownView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | `null` or number (integer) | `null` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### FileUploadModel (@jupyter-widgets/controls, 2.0.0); FileUploadView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FileUploadModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FileUploadView'` | -`accept` | string | `''` | File types to accept, empty string for all -`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable button -`error` | string | `''` | Error message -`icon` | string | `'upload'` | Font-awesome icon name, without the 'fa-' prefix. -`layout` | reference to Layout widget | reference to new instance | -`multiple` | boolean | `false` | If True, allow for multiple files upload -`style` | reference to ButtonStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array of object | `[]` | The file upload value +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FileUploadModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FileUploadView'` | +| `accept` | string | `''` | File types to accept, empty string for all | +| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable button | +| `error` | string | `''` | Error message | +| `icon` | string | `'upload'` | Font-awesome icon name, without the 'fa-' prefix. | +| `layout` | reference to Layout widget | reference to new instance | +| `multiple` | boolean | `false` | If True, allow for multiple files upload | +| `style` | reference to ButtonStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array of object | `[]` | The file upload value | ### FloatLogSliderModel (@jupyter-widgets/controls, 2.0.0); FloatLogSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatLogSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatLogSliderView'` | -`base` | number (float) | `10.0` | Base for the logarithm -`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `4.0` | Max value for the exponent -`min` | number (float) | `0.0` | Min value for the exponent -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'.3g'` | Format for the readout -`step` | `null` or number (float) | `0.1` | Minimum step in the exponent to increment the value -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `1.0` | Float value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatLogSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatLogSliderView'` | +| `base` | number (float) | `10.0` | Base for the logarithm | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `4.0` | Max value for the exponent | +| `min` | number (float) | `0.0` | Min value for the exponent | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'.3g'` | Format for the readout | +| `step` | `null` or number (float) | `0.1` | Minimum step in the exponent to increment the value | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `1.0` | Float value | ### FloatProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatProgressModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ProgressView'` | -`bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `100.0` | Max value -`min` | number (float) | `0.0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`style` | reference to ProgressStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | Float value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------------ | ----------------------------- | ---------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatProgressModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ProgressView'` | +| `bar_style` | `null` or string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `100.0` | Max value | +| `min` | number (float) | `0.0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `style` | reference to ProgressStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | Float value | ### FloatRangeSliderModel (@jupyter-widgets/controls, 2.0.0); FloatRangeSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatRangeSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatRangeSliderView'` | -`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. -`continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `100.0` | Max value -`min` | number (float) | `0.0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'.2f'` | Format for the readout -`step` | `null` or number (float) | `0.1` | Minimum step to increment the value -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatRangeSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatRangeSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `100.0` | Max value | +| `min` | number (float) | `0.0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'.2f'` | Format for the readout | +| `step` | `null` or number (float) | `0.1` | Minimum step to increment the value | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[0.0, 1.0]` | Tuple of (lower, upper) bounds | ### FloatSliderModel (@jupyter-widgets/controls, 2.0.0); FloatSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatSliderView'` | -`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (float) | `100.0` | Max value -`min` | number (float) | `0.0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'.2f'` | Format for the readout -`step` | `null` or number (float) | `0.1` | Minimum step to increment the value -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | Float value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (float) | `100.0` | Max value | +| `min` | number (float) | `0.0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'.2f'` | Format for the readout | +| `step` | `null` or number (float) | `0.1` | Minimum step to increment the value | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | Float value | ### FloatTextModel (@jupyter-widgets/controls, 2.0.0); FloatTextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatTextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatTextView'` | -`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`step` | `null` or number (float) | `null` | Minimum step to increment the value -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (float) | `0.0` | Float value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatTextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatTextView'` | +| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `step` | `null` or number (float) | `null` | Minimum step to increment the value | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (float) | `0.0` | Float value | ### FloatsInputModel (@jupyter-widgets/controls, 2.0.0); FloatsInputView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'FloatsInputModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'FloatsInputView'` | -`allow_duplicates` | boolean | `true` | -`allowed_tags` | array | `[]` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`format` | string | `'.1f'` | -`layout` | reference to Layout widget | reference to new instance | -`max` | `null` or number (float) | `null` | -`min` | `null` or number (float) | `null` | -`placeholder` | string | `'\u200b'` | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array | `[]` | List of float tags +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'FloatsInputModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'FloatsInputView'` | +| `allow_duplicates` | boolean | `true` | +| `allowed_tags` | array | `[]` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `format` | string | `'.1f'` | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or number (float) | `null` | +| `min` | `null` or number (float) | `null` | +| `placeholder` | string | `'\u200b'` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[]` | List of float tags | ### GridBoxModel (@jupyter-widgets/controls, 2.0.0); GridBoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'GridBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'GridBoxView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'GridBoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'GridBoxView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### HBoxModel (@jupyter-widgets/controls, 2.0.0); HBoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'HBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'HBoxView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HBoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'HBoxView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### HTMLMathModel (@jupyter-widgets/controls, 2.0.0); HTMLMathView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'HTMLMathModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'HTMLMathView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to HTMLMathStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------- | ----------------------------- | ------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HTMLMathModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'HTMLMathView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to HTMLMathStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | ### HTMLMathStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'HTMLMathStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`background` | `null` or string | `null` | Background specifications. -`description_width` | string | `''` | Width of the description to the side of the control. -`font_size` | `null` or string | `null` | Text font size. -`text_color` | `null` or string | `null` | Text color +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HTMLMathStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_size` | `null` or string | `null` | Text font size. | +| `text_color` | `null` or string | `null` | Text color | ### HTMLModel (@jupyter-widgets/controls, 2.0.0); HTMLView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'HTMLModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'HTMLView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to HTMLStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HTMLModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'HTMLView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to HTMLStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | ### HTMLStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'HTMLStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`background` | `null` or string | `null` | Background specifications. -`description_width` | string | `''` | Width of the description to the side of the control. -`font_size` | `null` or string | `null` | Text font size. -`text_color` | `null` or string | `null` | Text color +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'HTMLStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_size` | `null` or string | `null` | Text font size. | +| `text_color` | `null` or string | `null` | Text color | ### ImageModel (@jupyter-widgets/controls, 2.0.0); ImageView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ImageModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ImageView'` | -`format` | string | `'png'` | The format of the image. -`height` | string | `''` | Height of the image in pixels. Use layout.height for styling the widget. -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | Bytes | `b''` | The media data as a memory view of bytes. -`width` | string | `''` | Width of the image in pixels. Use layout.width for styling the widget. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ImageModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ImageView'` | +| `format` | string | `'png'` | The format of the image. | +| `height` | string | `''` | Height of the image in pixels. Use layout.height for styling the widget. | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | Bytes | `b''` | The media data as a memory view of bytes. | +| `width` | string | `''` | Width of the image in pixels. Use layout.width for styling the widget. | ### IntProgressModel (@jupyter-widgets/controls, 2.0.0); ProgressView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntProgressModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ProgressView'` | -`bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`style` | reference to ProgressStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | -------------------------------------------------------------------- | ----------------------------- | ---------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntProgressModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ProgressView'` | +| `bar_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the progress bar. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `style` | reference to ProgressStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### IntRangeSliderModel (@jupyter-widgets/controls, 2.0.0); IntRangeSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntRangeSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntRangeSliderView'` | -`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. -`continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'d'` | Format for the readout -`step` | number (integer) | `1` | Minimum step that the value can take -`style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array | `[0, 1]` | Tuple of (lower, upper) bounds +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntRangeSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntRangeSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is sliding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'d'` | Format for the readout | +| `step` | number (integer) | `1` | Minimum step that the value can take | +| `style` | reference to SliderStyle widget | reference to new instance | Slider style customizations. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[0, 1]` | Tuple of (lower, upper) bounds | ### IntSliderModel (@jupyter-widgets/controls, 2.0.0); IntSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntSliderModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntSliderView'` | -`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current value of the slider next to it. -`readout_format` | string | `'d'` | Format for the readout -`step` | number (integer) | `1` | Minimum step to increment the value -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntSliderModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current value of the slider next to it. | +| `readout_format` | string | `'d'` | Format for the readout | +| `step` | number (integer) | `1` | Minimum step to increment the value | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### IntTextModel (@jupyter-widgets/controls, 2.0.0); IntTextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntTextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntTextView'` | -`continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`step` | number (integer) | `1` | Minimum step to increment the value -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntTextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntTextView'` | +| `continuous_update` | boolean | `false` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `step` | number (integer) | `1` | Minimum step to increment the value | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### IntsInputModel (@jupyter-widgets/controls, 2.0.0); IntsInputView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'IntsInputModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'IntsInputView'` | -`allow_duplicates` | boolean | `true` | -`allowed_tags` | array | `[]` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`format` | string | `'d'` | -`layout` | reference to Layout widget | reference to new instance | -`max` | `null` or number (integer) | `null` | -`min` | `null` or number (integer) | `null` | -`placeholder` | string | `'\u200b'` | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array | `[]` | List of int tags +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'IntsInputModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'IntsInputView'` | +| `allow_duplicates` | boolean | `true` | +| `allowed_tags` | array | `[]` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `format` | string | `'d'` | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or number (integer) | `null` | +| `min` | `null` or number (integer) | `null` | +| `placeholder` | string | `'\u200b'` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[]` | List of int tags | ### LabelModel (@jupyter-widgets/controls, 2.0.0); LabelView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'LabelModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'LabelView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to LabelStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------ | ----------------------------- | ------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'LabelModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'LabelView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to LabelStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | ### LabelStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'LabelStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`background` | `null` or string | `null` | Background specifications. -`description_width` | string | `''` | Width of the description to the side of the control. -`font_family` | `null` or string | `null` | Label text font family. -`font_size` | `null` or string | `null` | Text font size. -`font_style` | `null` or string | `null` | Label text font style. -`font_variant` | `null` or string | `null` | Label text font variant. -`font_weight` | `null` or string | `null` | Label text font weight. -`text_color` | `null` or string | `null` | Text color -`text_decoration` | `null` or string | `null` | Label text decoration. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'LabelStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_family` | `null` or string | `null` | Label text font family. | +| `font_size` | `null` or string | `null` | Text font size. | +| `font_style` | `null` or string | `null` | Label text font style. | +| `font_variant` | `null` or string | `null` | Label text font variant. | +| `font_weight` | `null` or string | `null` | Label text font weight. | +| `text_color` | `null` or string | `null` | Text color | +| `text_decoration` | `null` or string | `null` | Label text decoration. | ### LinkModel (@jupyter-widgets/controls, 2.0.0); None (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'LinkModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | `null` or string | `null` | Name of the view. -`source` | array | `[]` | The source (widget, 'trait_name') pair -`target` | array | `[]` | The target (widget, 'trait_name') pair +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | -------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'LinkModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | `null` or string | `null` | Name of the view. | +| `source` | array | `[]` | The source (widget, 'trait_name') pair | +| `target` | array | `[]` | The target (widget, 'trait_name') pair | ### NaiveDatetimeModel (@jupyter-widgets/controls, 2.0.0); DatetimeView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'NaiveDatetimeModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'DatetimeView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`max` | `null` or Datetime | `null` | -`min` | `null` or Datetime | `null` | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | `null` or Datetime | `null` | +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'NaiveDatetimeModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'DatetimeView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or Datetime | `null` | +| `min` | `null` or Datetime | `null` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | `null` or Datetime | `null` | ### PasswordModel (@jupyter-widgets/controls, 2.0.0); PasswordView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'PasswordModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'PasswordView'` | -`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to TextStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'PasswordModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'PasswordView'` | +| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to TextStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | ### PlayModel (@jupyter-widgets/controls, 2.0.0); PlayView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'PlayModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'PlayView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`interval` | number (integer) | `100` | The time between two animation steps (ms). -`layout` | reference to Layout widget | reference to new instance | -`max` | number (integer) | `100` | Max value -`min` | number (integer) | `0` | Min value -`playing` | boolean | `false` | Whether the control is currently playing. -`repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. -`show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. -`step` | number (integer) | `1` | Increment step -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | number (integer) | `0` | Int value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'PlayModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'PlayView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `interval` | number (integer) | `100` | The time between two animation steps (ms). | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | number (integer) | `100` | Max value | +| `min` | number (integer) | `0` | Min value | +| `playing` | boolean | `false` | Whether the control is currently playing. | +| `repeat` | boolean | `false` | Whether the control will repeat in a continuous loop. | +| `show_repeat` | boolean | `true` | Show the repeat toggle button in the widget. | +| `step` | number (integer) | `1` | Increment step | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | number (integer) | `0` | Int value | ### ProgressStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ProgressStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`bar_color` | `null` or string | `null` | Color of the progress bar. -`description_width` | string | `''` | Width of the description to the side of the control. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ProgressStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `bar_color` | `null` or string | `null` | Color of the progress bar. | +| `description_width` | string | `''` | Width of the description to the side of the control. | ### RadioButtonsModel (@jupyter-widgets/controls, 2.0.0); RadioButtonsView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'RadioButtonsModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'RadioButtonsView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | `null` or number (integer) | `null` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'RadioButtonsModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'RadioButtonsView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | `null` or number (integer) | `null` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SelectModel (@jupyter-widgets/controls, 2.0.0); SelectView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SelectModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'SelectView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | `null` or number (integer) | `null` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`rows` | number (integer) | `5` | The number of rows to display. -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SelectModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'SelectView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | `null` or number (integer) | `null` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `rows` | number (integer) | `5` | The number of rows to display. | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SelectMultipleModel (@jupyter-widgets/controls, 2.0.0); SelectMultipleView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SelectMultipleModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'SelectMultipleView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | array of number (integer) | `[]` | Selected indices -`layout` | reference to Layout widget | reference to new instance | -`rows` | number (integer) | `5` | The number of rows to display. -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SelectMultipleModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'SelectMultipleView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | array of number (integer) | `[]` | Selected indices | +| `layout` | reference to Layout widget | reference to new instance | +| `rows` | number (integer) | `5` | The number of rows to display. | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SelectionRangeSliderModel (@jupyter-widgets/controls, 2.0.0); SelectionRangeSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SelectionRangeSliderModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'SelectionRangeSliderView'` | -`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | array | `[0, 0]` | Min and max selected indices -`layout` | reference to Layout widget | reference to new instance | -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current selected label next to the slider -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SelectionRangeSliderModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'SelectionRangeSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | array | `[0, 0]` | Min and max selected indices | +| `layout` | reference to Layout widget | reference to new instance | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current selected label next to the slider | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SelectionSliderModel (@jupyter-widgets/controls, 2.0.0); SelectionSliderView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SelectionSliderModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'SelectionSliderView'` | -`behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. -`continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`index` | number (integer) | `0` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. -`readout` | boolean | `true` | Display the current selected label next to the slider -`style` | reference to SliderStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------ | ----------------------------- | ----------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SelectionSliderModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'SelectionSliderView'` | +| `behavior` | string (one of `'drag-tap'`, `'drag-snap'`, `'tap'`, `'drag'`, `'snap'`) | `'drag-tap'` | Slider dragging behavior. | +| `continuous_update` | boolean | `true` | Update the value of the widget as the user is holding the slider. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `index` | number (integer) | `0` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `orientation` | string (one of `'horizontal'`, `'vertical'`) | `'horizontal'` | Vertical or horizontal. | +| `readout` | boolean | `true` | Display the current selected label next to the slider | +| `style` | reference to SliderStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### SliderStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'SliderStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`description_width` | string | `''` | Width of the description to the side of the control. -`handle_color` | `null` or string | `null` | Color of the slider handle. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'SliderStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `handle_color` | `null` or string | `null` | Color of the slider handle. | ### StackModel (@jupyter-widgets/controls, 2.0.0); StackView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'StackModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StackView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`titles` | array of string | `[]` | Titles of the pages -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'StackModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StackView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `titles` | array of string | `[]` | Titles of the pages | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### TabModel (@jupyter-widgets/controls, 2.0.0); TabView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TabModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'TabView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`titles` | array of string | `[]` | Titles of the pages -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TabModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TabView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `selected_index` | `null` or number (integer) | `null` | The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `titles` | array of string | `[]` | Titles of the pages | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### TagsInputModel (@jupyter-widgets/controls, 2.0.0); TagsInputView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TagsInputModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'TagsInputView'` | -`allow_duplicates` | boolean | `true` | -`allowed_tags` | array | `[]` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | array | `[]` | List of string tags +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TagsInputModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TagsInputView'` | +| `allow_duplicates` | boolean | `true` | +| `allowed_tags` | array | `[]` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tag_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the tags. | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | array | `[]` | List of string tags | ### TextModel (@jupyter-widgets/controls, 2.0.0); TextView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TextModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'TextView'` | -`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`style` | reference to TextStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TextModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TextView'` | +| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `style` | reference to TextStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | ### TextStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TextStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`background` | `null` or string | `null` | Background specifications. -`description_width` | string | `''` | Width of the description to the side of the control. -`font_size` | `null` or string | `null` | Text font size. -`text_color` | `null` or string | `null` | Text color +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TextStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `background` | `null` or string | `null` | Background specifications. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_size` | `null` or string | `null` | Text font size. | +| `text_color` | `null` or string | `null` | Text color | ### TextareaModel (@jupyter-widgets/controls, 2.0.0); TextareaView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TextareaModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'TextareaView'` | -`continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`layout` | reference to Layout widget | reference to new instance | -`placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed -`rows` | `null` or number (integer) | `null` | The number of rows to display. -`style` | reference to TextStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | string | `''` | String value +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------ | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TextareaModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TextareaView'` | +| `continuous_update` | boolean | `true` | Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `layout` | reference to Layout widget | reference to new instance | +| `placeholder` | string | `'\u200b'` | Placeholder text to display when nothing has been typed | +| `rows` | `null` or number (integer) | `null` | The number of rows to display. | +| `style` | reference to TextStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | string | `''` | String value | ### TimeModel (@jupyter-widgets/controls, 2.0.0); TimeView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'TimeModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'TimeView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`max` | `null` or Time | `null` | -`min` | `null` or Time | `null` | -`step` | number (float) or string (one of `'any'`) | `60` | The time step to use for the picker, in seconds, or "any". -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | `null` or Time | `null` | +| Attribute | Type | Default | Help | +| ------------------------ | ----------------------------------------- | ----------------------------- | ---------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'TimeModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'TimeView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `max` | `null` or Time | `null` | +| `min` | `null` or Time | `null` | +| `step` | number (float) or string (one of `'any'`) | `60` | The time step to use for the picker, in seconds, or "any". | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | `null` or Time | `null` | ### ToggleButtonModel (@jupyter-widgets/controls, 2.0.0); ToggleButtonView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ToggleButtonModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ToggleButtonView'` | -`button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes. -`icon` | string | `''` | Font-awesome icon. -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to ToggleButtonStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | boolean | `false` | Bool value +| Attribute | Type | Default | Help | +| ------------------------ | --------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ToggleButtonModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ToggleButtonView'` | +| `button_style` | string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the button. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `icon` | string | `''` | Font-awesome icon. | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to ToggleButtonStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | boolean | `false` | Bool value | ### ToggleButtonStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ToggleButtonStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`description_width` | string | `''` | Width of the description to the side of the control. -`font_family` | `null` or string | `null` | Toggle button text font family. -`font_size` | `null` or string | `null` | Toggle button text font size. -`font_style` | `null` or string | `null` | Toggle button text font style. -`font_variant` | `null` or string | `null` | Toggle button text font variant. -`font_weight` | `null` or string | `null` | Toggle button text font weight. -`text_color` | `null` or string | `null` | Toggle button text color -`text_decoration` | `null` or string | `null` | Toggle button text decoration. +| Attribute | Type | Default | Help | +| ----------------------- | ---------------- | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ToggleButtonStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_family` | `null` or string | `null` | Toggle button text font family. | +| `font_size` | `null` or string | `null` | Toggle button text font size. | +| `font_style` | `null` or string | `null` | Toggle button text font style. | +| `font_variant` | `null` or string | `null` | Toggle button text font variant. | +| `font_weight` | `null` or string | `null` | Toggle button text font weight. | +| `text_color` | `null` or string | `null` | Toggle button text color | +| `text_decoration` | `null` or string | `null` | Toggle button text decoration. | ### ToggleButtonsModel (@jupyter-widgets/controls, 2.0.0); ToggleButtonsView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ToggleButtonsModel'` | -`_options_labels` | array of string | `[]` | The labels for the options. -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ToggleButtonsView'` | -`button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes -`icons` | array of string | `[]` | Icons names for each button (FontAwesome names without the fa- prefix). -`index` | `null` or number (integer) | `null` | Selected index -`layout` | reference to Layout widget | reference to new instance | -`style` | reference to ToggleButtonsStyle widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`tooltips` | array of string | `[]` | Tooltips for each button. +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------------------------------------------------------------- | ----------------------------- | ----------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ToggleButtonsModel'` | +| `_options_labels` | array of string | `[]` | The labels for the options. | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ToggleButtonsView'` | +| `button_style` | `null` or string (one of `'primary'`, `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the buttons. | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes | +| `icons` | array of string | `[]` | Icons names for each button (FontAwesome names without the fa- prefix). | +| `index` | `null` or number (integer) | `null` | Selected index | +| `layout` | reference to Layout widget | reference to new instance | +| `style` | reference to ToggleButtonsStyle widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `tooltips` | array of string | `[]` | Tooltips for each button. | ### ToggleButtonsStyleModel (@jupyter-widgets/controls, 2.0.0); StyleView (@jupyter-widgets/base, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ToggleButtonsStyleModel'` | -`_view_module` | string | `'@jupyter-widgets/base'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'StyleView'` | -`button_width` | string | `''` | The width of each button. -`description_width` | string | `''` | Width of the description to the side of the control. -`font_weight` | string | `''` | Text font weight of each button. +| Attribute | Type | Default | Help | +| ----------------------- | ------ | ----------------------------- | ---------------------------------------------------- | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ToggleButtonsStyleModel'` | +| `_view_module` | string | `'@jupyter-widgets/base'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'StyleView'` | +| `button_width` | string | `''` | The width of each button. | +| `description_width` | string | `''` | Width of the description to the side of the control. | +| `font_weight` | string | `''` | Text font weight of each button. | ### VBoxModel (@jupyter-widgets/controls, 2.0.0); VBoxView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'VBoxModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'VBoxView'` | -`box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. -`children` | array of reference to Widget widget | `[]` | List of widget children -`layout` | reference to Layout widget | reference to new instance | -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------------------------------------------------- | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'VBoxModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'VBoxView'` | +| `box_style` | string (one of `'success'`, `'info'`, `'warning'`, `'danger'`, `''`) | `''` | Use a predefined styling for the box. | +| `children` | array of reference to Widget widget | `[]` | List of widget children | +| `layout` | reference to Layout widget | reference to new instance | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | ### ValidModel (@jupyter-widgets/controls, 2.0.0); ValidView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'ValidModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'ValidView'` | -`description` | string | `''` | Description of the control. -`description_allow_html` | boolean | `false` | Accept HTML in the description. -`disabled` | boolean | `false` | Enable or disable user changes. -`layout` | reference to Layout widget | reference to new instance | -`readout` | string | `'Invalid'` | Message displayed when the value is False -`style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | boolean | `false` | Bool value +| Attribute | Type | Default | Help | +| ------------------------ | ------------------------------------ | ----------------------------- | ----------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'ValidModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'ValidView'` | +| `description` | string | `''` | Description of the control. | +| `description_allow_html` | boolean | `false` | Accept HTML in the description. | +| `disabled` | boolean | `false` | Enable or disable user changes. | +| `layout` | reference to Layout widget | reference to new instance | +| `readout` | string | `'Invalid'` | Message displayed when the value is False | +| `style` | reference to DescriptionStyle widget | reference to new instance | Styling customizations | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | boolean | `false` | Bool value | ### VideoModel (@jupyter-widgets/controls, 2.0.0); VideoView (@jupyter-widgets/controls, 2.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/controls'` | -`_model_module_version` | string | `'2.0.0'` | -`_model_name` | string | `'VideoModel'` | -`_view_module` | string | `'@jupyter-widgets/controls'` | -`_view_module_version` | string | `'2.0.0'` | -`_view_name` | string | `'VideoView'` | -`autoplay` | boolean | `true` | When true, the video starts when it's displayed -`controls` | boolean | `true` | Specifies that video controls should be displayed (such as a play/pause button etc) -`format` | string | `'mp4'` | The format of the video. -`height` | string | `''` | Height of the video in pixels. -`layout` | reference to Layout widget | reference to new instance | -`loop` | boolean | `true` | When true, the video will start from the beginning after finishing -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. -`value` | Bytes | `b''` | The media data as a memory view of bytes. -`width` | string | `''` | Width of the video in pixels. +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | ----------------------------- | ----------------------------------------------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/controls'` | +| `_model_module_version` | string | `'2.0.0'` | +| `_model_name` | string | `'VideoModel'` | +| `_view_module` | string | `'@jupyter-widgets/controls'` | +| `_view_module_version` | string | `'2.0.0'` | +| `_view_name` | string | `'VideoView'` | +| `autoplay` | boolean | `true` | When true, the video starts when it's displayed | +| `controls` | boolean | `true` | Specifies that video controls should be displayed (such as a play/pause button etc) | +| `format` | string | `'mp4'` | The format of the video. | +| `height` | string | `''` | Height of the video in pixels. | +| `layout` | reference to Layout widget | reference to new instance | +| `loop` | boolean | `true` | When true, the video will start from the beginning after finishing | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | +| `value` | Bytes | `b''` | The media data as a memory view of bytes. | +| `width` | string | `''` | Width of the video in pixels. | ### OutputModel (@jupyter-widgets/output, 1.0.0); OutputView (@jupyter-widgets/output, 1.0.0) -Attribute | Type | Default | Help ------------------|------------------|------------------|---- -`_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element -`_model_module` | string | `'@jupyter-widgets/output'` | -`_model_module_version` | string | `'1.0.0'` | -`_model_name` | string | `'OutputModel'` | -`_view_module` | string | `'@jupyter-widgets/output'` | -`_view_module_version` | string | `'1.0.0'` | -`_view_name` | string | `'OutputView'` | -`layout` | reference to Layout widget | reference to new instance | -`msg_id` | string | `''` | Parent message id of messages to capture -`outputs` | array of object | `[]` | The output messages synced from the frontend. -`tabbable` | `null` or boolean | `null` | Is widget tabbable? -`tooltip` | `null` or string | `null` | A tooltip caption. - +| Attribute | Type | Default | Help | +| ----------------------- | -------------------------- | --------------------------- | --------------------------------------------- | +| `_dom_classes` | array of string | `[]` | CSS classes applied to widget DOM element | +| `_model_module` | string | `'@jupyter-widgets/output'` | +| `_model_module_version` | string | `'1.0.0'` | +| `_model_name` | string | `'OutputModel'` | +| `_view_module` | string | `'@jupyter-widgets/output'` | +| `_view_module_version` | string | `'1.0.0'` | +| `_view_name` | string | `'OutputView'` | +| `layout` | reference to Layout widget | reference to new instance | +| `msg_id` | string | `''` | Parent message id of messages to capture | +| `outputs` | array of object | `[]` | The output messages synced from the frontend. | +| `tabbable` | `null` or boolean | `null` | Is widget tabbable? | +| `tooltip` | `null` or string | `null` | A tooltip caption. | From b14e6f1b5d3da669180c16ea5ab33223ba03ad71 Mon Sep 17 00:00:00 2001 From: Greg Freeman Date: Sun, 16 Jul 2023 16:09:35 -0500 Subject: [PATCH 16/16] add documentation in Widget Events for drag drop --- docs/source/examples/Widget Events.ipynb | 74 +++++++++++++++++++++++- 1 file changed, 71 insertions(+), 3 deletions(-) diff --git a/docs/source/examples/Widget Events.ipynb b/docs/source/examples/Widget Events.ipynb index 8b9a49d374..b4889f2559 100644 --- a/docs/source/examples/Widget Events.ipynb +++ b/docs/source/examples/Widget Events.ipynb @@ -3,7 +3,9 @@ { "cell_type": "markdown", "metadata": { - "tags": ["remove-cell"] + "tags": [ + "remove-cell" + ] }, "source": [ "[Index](Index.ipynb) - [Back](Output%20Widget.ipynb) - [Next](Widget%20Styling.ipynb)" @@ -38,7 +40,9 @@ "cell_type": "code", "execution_count": null, "metadata": { - "tags": ["remove-cell"] + "tags": [ + "remove-cell" + ] }, "outputs": [], "source": [ @@ -513,10 +517,74 @@ "widgets.VBox([slider, text])" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Drag and Drop\n", + "\n", + "Widgets can support drag-drop interactions by wrapping them in DraggableBox and DropBox.\n", + "\n", + "A on_drop callback can be added to the DropBox to handle the event of receiving a drop action.\n", + "\n", + "The DraggableBox widget automatically passes the value as text and widget to the DropBox. Additional dict data can be added to DraggableBox with the drag_data trait." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "def DraggableLabel(value, draggable=True):\n", + " box = widgets.DraggableBox(widgets.Label(value))\n", + " box.draggable = draggable\n", + " return box\n", + "\n", + "label = DraggableLabel(\"Drag me\", draggable=True)\n", + "label.drag_data = {'application/custom-data' : 'Custom data'}\n", + "label" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "def on_drop_handler(widget, data):\n", + " \"\"\"\"Arguments:\n", + " \n", + " widget : widget class\n", + " widget on which something was dropped\n", + " \n", + " data : dict\n", + " extra data sent from the dragged widget\"\"\"\n", + " \n", + " text = data['text/plain']\n", + " widget_id = data['widget'].model_id\n", + " custom_data = data['application/custom-data']\n", + " value = \"you dropped widget ID '{}...' with text '{}' and custom data '{}'\".format(widget_id[:5], text, custom_data)\n", + " widget.child.value = value\n", + "\n", + "box = widgets.DropBox(widgets.Label(\"Drop here\"))\n", + "box.on_drop(on_drop_handler)\n", + "box" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "More examples of using drag drop are available in - [Drag and Drop](Drag%20and%20Drop.ipynb)" + ] + }, { "cell_type": "markdown", "metadata": { - "tags": ["remove-cell"] + "tags": [ + "remove-cell" + ] }, "source": [ "[Index](Index.ipynb) - [Back](Output%20Widget.ipynb) - [Next](Widget%20Styling.ipynb)"