FLUID-5222: Create a one stop shop build and create function for the prefsEditor

Metadata

Source
FLUID-5222
Type
Improvement
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Justin Obara
Created
2013-11-22T14:45:38.662-0500
Updated
2024-07-22T09:34:00.852-0400
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Prefs Framework

Description

It is a two step process to create a prefsEditor with a schema. First a build has to be run, then the resulting grade needs to be instantiated. To make this process a little more streamlined for an integrator, we should implement a single function that builds and instantiates a prefsEditor and returns the instance of the instantiated prefsEditor.

it might look something like:

fluid.prefs.create = function (container, options) {
// options would include a property for builder options, and another for the prefsEditor
// generate unique namespace if none supplied
// run the build
// return the instantiated prefsEditor
};

Comments