Functions | |
void | localStorageInit (const std::string &fullpath="") |
Local Storage support for the JS Bindings. More... | |
void | localStorageFree () |
Frees the allocated resources. | |
void | localStorageSetItem (const std::string &key, const std::string &value) |
Sets an item in the JS. | |
bool | localStorageGetItem (const std::string &key, std::string *outItem) |
Gets an item from the JS. | |
void | localStorageRemoveItem (const std::string &key) |
Removes an item from the JS. | |
void | localStorageClear () |
Removes all items from the JS. | |
void localStorageInit | ( | const std::string & | fullpath = "" | ) |
Local Storage support for the JS Bindings.
Initializes the database. If path is null, it will create an in-memory DB.
var localStorageInit | ( | var | fullpath = "" | ) |
Local Storage support for the JS Bindings.
Initializes the database. If path is null, it will create an in-memory DB.
local localStorageInit | ( | local | fullpath = "" | ) |
Local Storage support for the JS Bindings.
Initializes the database. If path is null, it will create an in-memory DB.