diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/classes/EventHandle.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/classes/EventHandle.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,2044 @@ + + + + + EventHandle - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

EventHandle Class

+
+ + + + + +
+ Defined in: event-custom/js/handle.js:1 +
+ + + + + Module: event-custom + + + + +
+ + + +
+

Return value from all subscribe operations

+
+ + +
+

Constructor

+
+

EventHandle

+ + +
+ (
    + +
  • + + evt + +
  • + +
  • + + sub + +
  • + +
) +
+ + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + event-custom/js/handle.js:1 + +

+ + + + + +
+ +
+ +
+ + +
+

Parameters:

+ +
    + +
  • + + evt + CustomEvent + + + + +
    +

    the custom event.

    +
    + + +
  • + +
  • + + sub + Subscriber + + + + +
    +

    the subscriber.

    +
    + + +
  • + +
+
+ + + + + +
+ +
+ + +
+ + +
+
+

Item Index

+ + +
+

Methods

+ + +
+ + + +
+

Properties

+ +
    + +
  • + evt + + + +
  • + +
  • + sub + + + +
  • + +
+
+ + + + + +
+ + +
+

Methods

+ + +
+

detach

+ + + () + + + + + Int + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + event-custom/js/handle.js:37 + +

+ + + + + +
+ +
+

Detaches this subscriber

+
+ + + + +
+

Returns:

+ +
+ + + Int: + + the number of detached listeners + +
+
+ + + +
+ + +
+

monitor

+ + +
+ (
    + +
  • + + what + +
  • + +
) +
+ + + + + EventHandle + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + event-custom/js/handle.js:60 + +

+ + + + + +
+ +
+

Monitor the event state for the subscribed event. The first parameter +is what should be monitored, the rest are the normal parameters when +subscribing to an event.

+
+ + +
+

Parameters:

+ +
    + +
  • + + what + String + + + + +
    +

    what to monitor ('attach', 'detach', 'publish').

    +
    + + +
  • + +
+
+ + + +
+

Returns:

+ +
+ + + EventHandle: + + return value from the monitor event subscription. + +
+
+ + + +
+ + +
+ + + +
+

Properties

+ + +
+

evt

+ CustomEvent + + + + + + + + + +
+ + + +

+ + Defined in + + + + + event-custom/js/handle.js:10 + +

+ + + + +
+ +
+

The custom event

+
+ + + + + + +
+ + +
+

sub

+ Subscriber + + + + + + + + + +
+ + + +

+ + Defined in + + + + + event-custom/js/handle.js:18 + +

+ + + + +
+ +
+

The subscriber object

+
+ + + + + + +
+ + +
+ + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + + + +