OverviewThe Fluid framework defines an event system which is used by many of its components. For an overview, see Infusion Event System. This page provides specific information for anyone implementing Fluid components in their user interface. Fluid components fire events at interesting moments in their life cycle. Implementers can take advantage of this by attaching listeners to these events if they so desire. For example, the Uploader component fires an afterUploadComplete event once a file upload has completed. Implementors could choose to attach a listener to this event that displays a "Complete" message to the users. Component EventsEach Fluid component defines its own events. Implementers must consult either the documentation for the component, or the source code, to determine what events a particular component will fire. - In the documentation, the events are described in the "Supported Events" section of the API page for the component in question.
- In the source code, the default values for the supported events are defined in the
events object passed to fluid.defaults() .
|