Skip to main content

Interface: CapabilityStorage

The storage that keeps the record of the rendering capabilities.

Every read and write of that record goes through this interface, so a later change can add a file store for a server render. A store must not throw: a missing or failing store acts as an empty one.

Methods​

getItem()​

getItem(key): string

Parameters​

• key: string

Returns​

string

Defined in​

packages/core/src/utilities/capabilityStorage.ts:9


keys()​

keys(prefix): string[]

Every key that starts with prefix.

Parameters​

• prefix: string

Returns​

string[]

Defined in​

packages/core/src/utilities/capabilityStorage.ts:13


removeItem()​

removeItem(key): void

Parameters​

• key: string

Returns​

void

Defined in​

packages/core/src/utilities/capabilityStorage.ts:11


setItem()​

setItem(key, value): void

Parameters​

• key: string

• value: string

Returns​

void

Defined in​

packages/core/src/utilities/capabilityStorage.ts:10