Storage.removeItem()

Overview

Removes a value from the application's internal persistent store. Future requests for the stored value will return null.

Added in version 1.2.109

Use Cases

Previously stored persistent values need to be removed.

Format

Storage.removeItem(keyName);

Parameter Description Type Required
keyName A string key that was used to store the value previously. String Required

Example 1

Copy
/* Remove the 'doneThisOnce' stored value.
 */
 
 Storage.removeItem('doneThisOnce');