Fundamentals
Components
Code Utilities
Demo
BcJsLocalStorageService
Description
The BcJsLocalStorageService provides an interface for interacting with the browser's LocalStorage. It allows storing, retrieving, updating, and deleting data, which remains available even after the page is refreshed.
Method & Function Descriptions
Write ( string name, string value )
Writes or updates an entry in the LocalStorage with the specified name.
Task
Read ( string name )
Reads the value of a LocalStorage entry by its specified name.
Task < string >
Remove ( string name )
Removes a LocalStorage entry by its specified name.
Task
Clear ( )
Clears the entire LocalStorage.
Task