onstoragecommit event
[This documentation is preliminary and is subject to change.]
Fires when a local Web Storage area is written to disk.
![]() |
Syntax
| HTML Attribute | <element onstoragecommit = "handler(event)"> |
| Event Property | object.onstoragecommit = handler; |
| attachEvent Method | object.attachEvent("onstoragecommit", handler) |
Standards information
There are no standards that apply here.
Event information
| Synchronous | No |
| Bubbles | No |
| Cancelable | No |
Event handler parameters
- pEvtObj [in]
Type: IHTMLEventObj
Remarks
Local storage is saved to disk asynchronously to improve performance. The HTMLDocumentEvents3::onstoragecommit event can be used to determine when the disk storage has been updated.
To invoke this event, do one of the following:
- Set or update a local storage value with IHTMLStorage::setItem.
- Remove a local storage value with IHTMLStorage::removeItem.
See also
Build date: 6/12/2012
.png)