Versions Compared

Key

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

...

There are three typical lifecycle points in an autoInit component. The only "grade" to make use of any of them is "fluid.modelComponent". "fluid.modelComponent" specifies the a preInitFunction to set the model and applier used by the component, and attaches them to the components "that".

Manually

Developers may choose to write their own component creator function for their graded component. If they do, the first thing their creator function should do is call the appropriate initialization function, assigning the returned object and continuing to configure it as desired (for example, to add methods to it).

...