Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StorageService

Hierarchy

  • StorageService

Index

Accessors

Methods

Accessors

keepALive

  • get keepALive(): Boolean
  • set keepALive(value: Boolean): any

Methods

clear

  • clear(): void

getItem

  • getItem(key: string, parse: boolean): any
  • Get the value from the storage under the given key

    Parameters

    • key: string
    • parse: boolean

    Returns any

setItem

  • setItem(key: string, value: string | any): void
  • Set the given value in the storage under the given key If the value is not of type String, it will be converted to String

    Parameters

    • key: string
    • value: string | any

    Returns void

Generated using TypeDoc