API ReferenceGlobalsLocalStorage

# Class: LocalStorage

# Hierarchy

  • LocalStorage

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new LocalStorage(_context_: string): LocalStorage

Defined in packages/common-core/src/utils/local-storage.ts:4

Parameters:

Name Type
_context_ string

Returns: LocalStorage

# Properties

# context

context: string

Defined in packages/common-core/src/utils/local-storage.ts:6


# creator

creator: string

_Implementation of Context.creator_

Defined in packages/common-core/src/utils/local-storage.ts:4

# Methods

# getItem

getItem(key: string): any

Defined in packages/common-core/src/utils/local-storage.ts:20

Parameters:

Name Type
key string

Returns: any


# setItem

setItem<T>(key: string, value: T): void

Defined in packages/common-core/src/utils/local-storage.ts:34

Type parameters:

T

Parameters:

Name Type
key string
value T

Returns: void