Child pages
  • Define components to be 'autoInit'

This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

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

Components should always be declared as "autoInit" by including the designation in the gradeNames option:

fluid.defaults("my.component", {
    gradeNames: ["my.grade", "fluid.rendererComponent", "autoInit"],
    ....
});

In a future release of the Framework, this will become the default and it will not need to be specified explicitly, but for now, you must include this string.

  • No labels