Skip to content

Class: ManagedStyle

utilities/dom.ManagedStyle

Constructors

constructor

new ManagedStyle(id?): ManagedStyle

Parameters

NameType
id?number

Returns

ManagedStyle

Defined in

src/utilities/dom.ts:283

Methods

clear

clear(): void

Returns

void

Defined in

src/utilities/dom.ts:306


delete

delete(key): void

Parameters

NameType
keystring

Returns

void

Defined in

src/utilities/dom.ts:333


destroy

destroy(): void

Returns

void

Defined in

src/utilities/dom.ts:296


get

get(key): undefined | null | string

Parameters

NameType
keystring

Returns

undefined | null | string

Defined in

src/utilities/dom.ts:311


has

has(key): boolean

Parameters

NameType
keystring

Returns

boolean

Defined in

src/utilities/dom.ts:318


set

set(key, value, force?): void

Parameters

NameTypeDefault value
keystringundefined
valuestringundefined
forcebooleanfalse

Returns

void

Defined in

src/utilities/dom.ts:322