DomStorage

No summary available

Import
the javascript logo
import { DomStorage } from "@schukai/monster/source/data/datasource/dom.mjs";
Source
the git logo
Package
the npm logo
Since
1.0.0

Exported

DomStorage

Derived from

Datasource

Options

The Options listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits Options from these parent classes. If you cannot find a specific Options in this list, we recommend consulting the documentation of the Datasource.

Option
Type
Default
Description
object
defaults
object
defaults.read
string
defaults.read.selector
object
defaults.write
string
defaults.write.selector

Properties

The Properties listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits Properties from these parent classes. If you cannot find a specific Properties in this list, we recommend consulting the documentation of the Datasource.

Methods

The methods listed in this section are defined directly within the class. This class is derived from several parent classes. Therefore, it inherits methods from these parent classes. If you cannot find a specific method in this list, we recommend consulting the documentation of the Datasource.

Constructor

constructor([options])
Parameters
  • [options] {object}: options contains definitions for the datasource.

Static methods

[instanceSymbol]()
Returns
  • {symbol}
This method is called by the instanceof operator.

Other methods

read()
Returns
  • {Promise}
Throws
  • {Error} The read selector is not defined
  • {Error} There are no storage element
write()
Returns
  • {Promise}
Throws
  • {Error} The write selector is not defined
  • {Error} There are no storage element

Events

This component does not fire any public events. It may fire events that are inherited from its parent classes.

The current width of the area is too small to display the content correctly.