Child pages
  • fluid.event.identifyListener

Documentation for a historical release of Infusion: 1.4
Please view the Infusion Documentation site for the latest documentation, or the Infusion 1.3. Documentation for the previous release.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This functionality is Sneak Peek status. This means that the APIs may change. We welcome your feedback, ideas, and code, but please use caution if you use this new functionality.

Unknown macro: {div}


Returns the unique identifier of the given listener. If the listener has none, one will be added and returned.


File name: Fluid.js


Unknown macro: {span}


(Function) description

Return Value

Unknown macro: {span}


The unique identifier allocated to this listener.


The guid of a listener can be used...


fireSpec.guids[fluid.event.identifyListener(listener)] = record;

var guid = fluid.event.identifyListener(listener);
if (fireSpec.guids[guid]) {
    var rec = fireSpec.guids[guid];

In this example, the identifier of the listener is used to register a record of information about the listener. Later, the guid of a listener is used to check whether or not a record exists for the listener before action is taken using it.

  • No labels