Subscriber Class
+ + + + +Stores the subscriber information to be used when the event fires.
+Constructor
+Subscriber
+
+
+ -
+
+
-
+
+
fn+ +
+
+ -
+
+
context+ +
+
+ -
+
+
args+ +
+
+
-
+
- Index + + +
- Methods + + +
- Properties + + + +
Item Index
+ + + + + + + + + + + + +Methods
+ + +contains
+
+
+ -
+
+
-
+
+
fn+ +
+
+ -
+
+
context+ +
+
+
Returns true if the fn and obj match this objects properties. +Used by the unsubscribe method to match the right subscriber.
+Parameters:
+ + +Returns:
+ +notify
+
+
+ -
+
+
-
+
+
args+ +
+
+ -
+
+
ce+ +
+
+
Executes the subscriber.
+Parameters:
+ +-
+
+
-
+
+
args+ Array + + + + +++ + +Arguments array for the subscriber.
+
+
+ -
+
+
ce+ CustomEvent + + + + +++ + +The custom event that sent the notification.
+
+
+
Properties
+ + +args
+ Array
+
+
+
+
+
+
+
+
+
+
+
+ Additional arguments to propagate to the subscriber
+context
+ Object
+
+
+
+
+
+
+
+
+
+
+
+ Optional 'this' keyword for the listener
+events
+ EventTarget
+
+
+
+
+
+
+
+
+
+
+
+ Custom events for a given fire transaction.
+fn
+ Function
+
+
+
+
+
+
+
+
+
+
+
+ The callback that will be execute when the event fires +This is wrapped by Y.rbind if obj was supplied.
+once
+ Unknown
+
+
+
+
+
+
+
+
+
+
+
+ This listener only reacts to the event once
+