Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
LocalStorage

@fuel-ts/account v0.94.8 Docs


Icon LinkClass: LocalStorage

Icon LinkImplements

Icon LinkConstructors

Icon Linknew LocalStorage()

Icon InfoCircle

new LocalStorage(localStorage): LocalStorage

Icon LinkParameters

localStorage: Storage

Icon LinkReturns

LocalStorage

Icon LinkDefined in

packages/account/src/connectors/types/local-storage.ts:7 Icon Link

Icon LinkMethods

Icon Linkclear()

Icon InfoCircle

clear(): Promise<void>

Icon LinkReturns

Promise<void>

Icon LinkImplementation of

StorageAbstract .clear

Icon LinkDefined in

packages/account/src/connectors/types/local-storage.ts:23 Icon Link


Icon LinkgetItem()

Icon InfoCircle

getItem(key): Promise<undefined | null | string>

Icon LinkParameters

key: string

Icon LinkReturns

Promise<undefined | null | string>

Icon LinkImplementation of

StorageAbstract .getItem

Icon LinkDefined in

packages/account/src/connectors/types/local-storage.ts:15 Icon Link


Icon LinkremoveItem()

Icon InfoCircle

removeItem(key): Promise<void>

Icon LinkParameters

key: string

Icon LinkReturns

Promise<void>

Icon LinkImplementation of

StorageAbstract .removeItem

Icon LinkDefined in

packages/account/src/connectors/types/local-storage.ts:19 Icon Link


Icon LinksetItem()

Icon InfoCircle

setItem(key, value): Promise<void>

Icon LinkParameters

key: string

value: string

Icon LinkReturns

Promise<void>

Icon LinkImplementation of

StorageAbstract .setItem

Icon LinkDefined in

packages/account/src/connectors/types/local-storage.ts:11 Icon Link