StyleSheet

Type class

Defines a class for an entire CSS style sheet.

Can be used to dynamically add CSS to the document.

Sources

This information about StyleSheet is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

StyleSheet extends DisposerClass.

StyleSheet is not extended by any other symbol.

Settings

StyleSheet does not have any settings.

Private settings

StyleSheet does not have any private settings.

Properties

StyleSheet does not have any properties.

Methods

constructor(

element: ShadowRoot | null,
text: string,
nonce: string

)

#

Returns StyleSheet

Constructor.

dispose()

#

Returns void

Inherited from DisposerClass

Disposes the object.

isDisposed()

#

Returns boolean

Inherited from DisposerClass

Checks if object is disposed.

There are 2 inherited items currently hidden from this list.

Events

StyleSheet does not have any events.