One of the primary functions of the Infusion Preferences Framework is to allow you to create a Preferences Editor: a collection of adjusters that users can use to set their interface preferences.
|(required) (String) A CSS-style selector that will contain the preferences editor markup.|
|(optional) (Object) Configuration options. See Options below for more information.|
(Object) The preferences editor instance.
|(Optional) Configuration options for the builder; see Builder Options below for more information.||Object|
|(Optional) Configuration options for the preferences editor itself. See PrefsEditor Options below for more information.||Object|
(Optional) A list of grade names to be used for the builder.
This option can be used to specify the names of grades that define schemas, as an alternative to specifying the schemas through the direct options. If you do not provide the
|Array of strings||none|
NOTE: You must provide at least one of
gradeNameindicating an auxiliary schema.
If you provide both, they will be merged (with the
auxiliarySchema overriding anything in the grade schema), but you must provide at least one.
|(Optional) The string name of a grade of preference editor.|
The Preferences Framework provides three built-in types of editor:
Integrators can use one of these grades, or define their own grade, using one of these grades as a base grade.
The simplest way to create a separated panel preferences editor is to provide the primary and auxiliary schema using the options:
The preferences editor will be instantiated and rendered into the container specified as the first argument to