ProxyObserver

No summary available

Import
the javascript logo
import { ProxyObserver } from "@schukai/monster/source/types/proxyobserver.mjs";
Source
the git logo
Package
the npm logo
Since
1.0.0

Exported

ProxyObserver

Derived from

Base

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 Base.

Option
Type
Default
Description
-/-

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 Base.

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 Base.

Constructor

constructor(object)
Parameters
  • object {object}: object
Throws
  • {TypeError} value is not a object

Structural methods

getRealSubject()
Returns
  • {object}: real subject object.
Retrieves the real subject associated with the current instance.
getSubject()
Returns
  • {object}
setSubject(obj)1.24.0
Parameters
  • obj {object}: obj
Returns
  • {ProxyObserver}

Static methods

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

Other methods

attachObserver(observer)
Parameters
  • observer {observer}: observer
Returns
  • {ProxyObserver}
attach a new observer
containsObserver(observer)
Parameters
  • observer {observer}: observer
Returns
  • {boolean}
detachObserver(observer)
Parameters
  • observer {observer}: observer
Returns
  • {ProxyObserver}
detach a observer
notifyObservers()
Returns
  • {Promise}
notify all observer

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.