Function useStorage

  • Returns {
        deleteStorage: ((name) => void);
        getSafeStorage: ((name) => string);
        getStorage: ((name) => string);
        setStorage: ((name, val?) => void);
    }

    • deleteStorage: ((name) => void)
        • (name): void
        • Parameters

          • name: string

          Returns void

    • getSafeStorage: ((name) => string)
        • (name): string
        • Parameters

          • name: string

          Returns string

    • getStorage: ((name) => string)
        • (name): string
        • Parameters

          • name: string

          Returns string

    • setStorage: ((name, val?) => void)
        • (name, val?): void
        • Parameters

          • name: string
          • val: string = 'true'

          Returns void

Generated using TypeDoc