Child pages
  • Understanding Component Options And Their Defaults

Versions Compared

Key

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

...

One of the key principles that Infusion components operate on is configurability. Components have options that can be set by integrators to customize the behaviour. For example, the Infusion Inline Edit component has options for configuring the text content of the tooltip, the length of time the user must hover before the tooltip appears, the 'invitation text' that should be displayed in the field if it is empty, and other things.
Image Added
Developers who are integrating an Inline Edit into their web application can use these options to customize the Inline Edit for their particular needs. Image Removed

A component creator will typically define default values for as many of the component's options as possible, so that the component will work "out of the box," without customization. This is done with a call to fluid.defaults, which registers the component's defaults with the Framework.

...