Observer
No summary available
import { Observer } from "@schukai/monster/source/types/observer.mjs";/** this example does not use an extra script **/Exported
ObserverDerived from
BaseOptions
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.
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(callback,args)callback{function}: The function to execute on update.args{...*}: Additional arguments to pass to the callback.
Behavioral methods
addTag(tag)tag{string}: tag
removeTag(tag)tag{string}: tag
update(subject)subject{object}: The subject object that triggered the update.
State query methods
hasTag(tag)tag{string}: tag
Structural methods
getTags()Static methods
[instanceSymbol]()2.1.0instanceof operator.Other methods
arguments()callback()Events
This component does not fire any public events. It may fire events that are inherited from its parent classes.