Component Grades

A component "grade" is a type definition, or a name for a particular block of material that is supplied to fluid.defaults which is merged with the creator-specific block of defaults for a particular component. Component grades offer no runtime effect of a component, but does enable reliable and readable construction of a component after instantiation. The "autoInit" grade tells the IoC framework to automatically resolve the component from the inferred graded material without the need to write the component's actual creator function.

Available Grades

The current framework supports the following grades:

How to use component grades

fluid.defaults("fluid.uploader.html5Strategy", {
    gradeNames: ["fluid.littleComponent", "autoInit"],
    components: {
        local: {
        remote: {