An object that contains the following properties:
Optional user data to persist to local storage.
Fires before the List is persisted to Local Storage.
The onBeforePersistToLocalStorage event is called before data is persisted to local storage. This event can be used to store custom user data in local storage, such as preferences or calculations, by adding it to the e.userData object.