Handle long-live data
        
        
        
- Source:
Members
- 
    <static> PREFIX
- 
    
    Prefix for localstorage- Source:
 
Methods
- 
    <static> getItem(key, uk)
- 
    
    
    Load item from storageParameters:Name Type Description keyString variablename ukString Userkey? Should we add the bid as prefix? - Source:
 
- 
    <static> getPrefix(uk) → {String}
- 
    
    
    
    
    
    
    
        Parameters:Name Type Description uktype Should we generate a user prefix? - Source:
 Returns:prefix- Type
- String
 
- 
    <static> getUserItem(key)
- 
    
    
    Get a user item from storage.Parameters:Name Type Description key- Source:
 Returns:user item
- 
    <static> ink(key, uk)
- 
    
    
    Inkrements valueParameters:Name Type Description keyString variablename ukString Userkey? Should we add the bid as prefix? - Source:
 
- 
    <static> onStorage(e)
- 
    
    
    Triggered if changes are recognizedParameters:Name Type Description eevent Storageevent PropertiesName Type Description keyString Keyname which triggered event oldValueObject Old Value for key newValueObject New Value for key urlString - Source:
 
- 
    <static> removeElement(key, name, uk) → {undefined}
- 
    
    
    Remove element from array or objectParameters:Name Type Description keystring name of array or object namestring name of element in array or object ukString Userkey? Should we add the bid as prefix? - Source:
 Returns:- Type
- undefined
 
- 
    <static> removeItem(key, uk)
- 
    
    
    Remove item from storageParameters:Name Type Description keyString variablename ukString Userkey? Should we add the bid as prefix? - Source:
 
- 
    <static> removeUserItem(key)
- 
    
    
    Remove user item from storage.Parameters:Name Type Description key- Source:
 
- 
    <static> saveBuddy(bid, data) → {String}
- 
    
    
    Save or update buddy data.Parameters:Name Type Description biddata- Source:
 Returns:Updated or created- Type
- String
 
- 
    <static> setItem(key, value, uk)
- 
    
    
    Save item to storageParameters:Name Type Description keyString variablename valueObject value ukString Userkey? Should we add the bid as prefix? - Source:
 
- 
    <static> updateItem(key, variable, value, uk)
- 
    
    
    Updates value of a variable in a saved object.Parameters:Name Type Argument Description keyString variablename variableString | object variablename in object or object with variable/key pairs valueObject <optional> 
 value ukString Userkey? Should we add the bid as prefix? - Source:
 
- 
    <static> updateUserItem(key, variable, value)
- 
    
    
    Updates value of a variable in a saved user object.Parameters:Name Type Argument Description keyString variablename variableString | object variablename in object or object with variable/key pairs valueObject <optional> 
 value - Source: