Show More
@@ -1,6 +1,6 | |||||
1 | * Added a widget persistence API. This allows you to persist your notebooks interactive widgets. |
|
1 | * Added a widget persistence API. This allows you to persist your notebooks interactive widgets. | |
2 | Two levels of control are provided: |
|
2 | Two levels of control are provided: | |
3 | 1. Higher level- ``WidgetManager.set_state_callbacks`` allows you to register callbacks for loading and saving widget state. The callbacks are automatically called when necessary. |
|
3 | 1. Higher level- ``WidgetManager.set_state_callbacks`` allows you to register callbacks for loading and saving widget state. The callbacks you register are automatically called when necessary. | |
4 | 2. Lower level- the ``WidgetManager`` Javascript class now has ``get_state`` and ``set_state`` methods that allow you to get and set the state of the widget runtime. |
|
4 | 2. Lower level- the ``WidgetManager`` Javascript class now has ``get_state`` and ``set_state`` methods that allow you to get and set the state of the widget runtime. | |
5 |
|
5 | |||
6 | Example code for persisting your widget state to session data: |
|
6 | Example code for persisting your widget state to session data: |
General Comments 0
You need to be logged in to leave comments.
Login now