Child pages
  • _model option description

Documentation for a historical release of Infusion: 1.4
Please view the Infusion Documentation site for the latest documentation, or the Infusion 1.3. Documentation for the previous release.
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

Description

An object containing the data model to be used by the component.

Notes

If a ChangeApplier is not provided using the #applier option, the Framework will create one for the provided model.

Example Definition

fluid.defaults("fluid.pager", {
    model: {
        pageIndex: undefined,
        pageSize: 10,
        totalRange: undefined
    },
    ...
});

Example Override

var myPager = fluid.pager(container, {
    model: {
        pageIndex: 1
    },
    ...
});

See also

Model Objects
ChangeApplier API
#applier
#changeApplierOptions

  • No labels