[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/yuilib/3.17.2/event-synthetic/ -> event-synthetic.js (summary)

Define new DOM events that can be subscribed to from Nodes.

File Size: 852 lines (33 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  Notifier()
  SynthRegistry()
  SyntheticEvent()

Functions
Functions that are not part of a class:

Notifier(handle, emitFacade)   X-Ref
<p>The triggering mechanism used by SyntheticEvents.</p>

<p>Implementers should not instantiate these directly.  Use the Notifier
provided to the event's implemented <code>on(node, sub, notifier)</code> or
<code>delegate(node, sub, notifier, filter)</code> methods.</p>

param: handle {EventHandle} the detach handle for the subscription to an
param: emitFacade {Boolean} take steps to ensure the first arg received by

SynthRegistry(el, yuid, key)   X-Ref
Manager object for synthetic event subscriptions to aggregate multiple synths on the
same node without colliding with actual DOM subscription entries in the global map of
DOM subscriptions.  Also facilitates proper cleanup on page unload.

param: el {HTMLElement} the DOM element
param: yuid {String} the yuid stamp for the element
param: key {String} the generated id token used to identify an event type +

SyntheticEvent()   X-Ref
<p>Wrapper class for the integration of new events into the YUI event
infrastructure.  Don't instantiate this object directly, use
<code>Y.Event.define(type, config)</code>.  See that method for details.</p>

<p>Properties that MAY or SHOULD be specified in the configuration are noted
below and in the description of <code>Y.Event.define</code>.</p>

param: cfg {Object} Implementation pieces and configuration



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1