Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Infusion Framework already contains several predefined component grades that are intended to be used (but do not have to be) as the initial building blocks for the external components and grades. The following table describes these grades and how they relate to each other.

Grade NameDescription
autiInitautoInit
A special directive grade that instructs the framework to create an actual Function object (creator function) to be accessible outside of the Infusion Framework. NOTE: this grade name will eventually be unnecessary as it will be implicit.
fluid.littleComponent
A "little" component is the most basic component: it supports options merging with defaults (Little Components).
fluid.modelComponent
A "model" component is already a little component that additionally provides supports for a component's model, defined in the components options, and operations on it (Model Components).
fluid.eventedComponent
An "evented" component is already a little component that additionally instantiates event firers based on default framework events (onCreate, onDestroy, onDetach) and events declared in the options (Evented Components).
fluid.viewComponent
A "view" component is already an evented and a model component that is DOM aware and supports a view (View Components).
fluid.rendererComponent
A "renderer" component is already a vew component that bears a renderer. There are additional features provided by this component grade specified on the Useful functions and events section of the Renderer Components page

...