LinkableWatcher Class
This is used to dynamically attach a set of callbacks to different targets. The callbacks of the LinkableWatcher will be triggered automatically when the target triggers callbacks, changes, becomes null or is disposed. Instead of calling this constructor directly, consider using one of the SessionManager functions registerLinkableChild or registerDisposableChild to make sure the watcher will get disposed automatically.
Constructor
LinkableWatcher
-
typeRestriction -
immediateCallback -
groupedCallback
Parameters:
-
typeRestrictionClassOptionally restricts which type of targets this watcher accepts.
-
immediateCallbackFunctionA function to add as an immediate callback.
-
groupedCallbackFunctionA function to add as a grouped callback.
Item Index
Properties
- CLASS_NAME static
- CLASS_NAME static
- NS static
- NS static
- SESSIONABLE static
- SESSIONABLE static
Properties
CLASS_NAME
String
public
static
TO-DO:temporary solution to save the CLASS_NAME constructor.name works for window object , but modular based won't work
CLASS_NAME
String
public
static
TO-DO:temporary solution to save the CLASS_NAME constructor.name works for window object , but modular based won't work
NS
String
public
static
temporary solution to save the namespace for this class/prototype
Default: weavecore
NS
String
public
static
temporary solution to save the namespace for this class/prototype
Default: weavecore
SESSIONABLE
String
public
static
TO-DO:temporary solution for checking class in sessionable
SESSIONABLE
String
public
static
TO-DO:temporary solution for checking class in sessionable
