Versions Compared

Key

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

...

Code Block
    preferenceMap: {
        <key from primary schema>: {
            <path in panel's options where value should be held>: <key in primary schema where value held>,
            <path in panel's options where value should be held>: <key in primary schema where value held>,
		    ... any number of the above, as required ...
        },
        ... any number of the above, as required ...
    }

Examples

Code Block
javascript
javascript
fluid.defaults("fluid.prefs.panels.textSize", {
    gradeNames: ["fluid.prefs.panels", "autoInit"],
    preferenceMap: {
        "fluid.prefs.textSize": {
            "model.value": "default",
            "range.min": "minimum",
            "range.max": "maximum"
        }
    },
    ....

...