This documentation is quite incomplete. At the moment, it is simply a holding place for various bits of documentation that don't have a proper home yet.
The Fluid framework includes a number of functions and utilities that component developers can avail themselves of. These are described below.
fluid.initView(componentName, container, userOptions)
fluid.initComponents(that, className, args)
This function provides a generic way of instantiating and configuring any "sub-components" that may be a part of, or used by, a parent component. For example, this function is used by the Inline Edit component to instantiate the Undo decorator, a sub-component that provides Undo functionality to components that support it.
is a string defined by the invoking component, identifying an option understood by that component.
Each Fluid component includes a standard options structure at its top-level. Options allow implementors to configure and customize a component. User-supplied options are merged with relevant defaults for the given components. These defaults registered by each component with the Fluid defaults management system via a call to
componentNameis a string name for the component, and
The options for each component (and their defaults) will vary, but all components share a subset of required defaults. These are:
selectors. Implementors can override the default selectors, so long as the selectors they provide meet the following requirements:
- selectors must be relative to the main component container element