Versions Compared

Key

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

...

Each panel and enactor defines a "preference map," which binds map the state of the component (i.e. the panel's controls) to the (primary) schemainformation in the Primary Schema into your Panel. The preference map is used to copy the default preference value from the primary schema into the Panel's model. It can also be used to copy any other necessary information from the primary schema into the Panel, such as enumerations, minimums and maximums, etc. The values can be mapped to any path in the Panels options, and then they can be accessed through those paths.

Format

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

...