From 57b7ebaa8f06d2ec045f6fce3a2bbc9546141e7e 2014-12-09 01:18:09 From: Jonathan Frederic Date: 2014-12-09 01:18:09 Subject: [PATCH] Clarify what's new doc --- diff --git a/docs/source/whatsnew/pr/persistence-api-feature.rst b/docs/source/whatsnew/pr/persistence-api-feature.rst index acd066d..9a476a0 100644 --- a/docs/source/whatsnew/pr/persistence-api-feature.rst +++ b/docs/source/whatsnew/pr/persistence-api-feature.rst @@ -1,6 +1,6 @@ * Added a widget persistence API. This allows you to persist your notebooks interactive widgets. Two levels of control are provided: - 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. + 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. 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. Example code for persisting your widget state to session data: