A registry/factory for input widgets. Can be used by helpers/view logic to build form widgets and other HTML widgets. This class handles the mapping between names and concrete classes. It also has a basic name based dependency resolver that allows widgets to depend on each other. Each widget should expect a StringContents instance as their first argument. All other dependencies will be included after. Widgets can ask for the current view by using the `_view` widget.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
IWidget | IWidget _resolveWidget(Json[string] configData) | ||||
IWidget | IWidget get(string widgetName) | ||||
this(DStringContents | this(DStringContents newTemplate, DView newView, Json[string] widgets = null) | ||||
void | void load(string fileToLoad) | ||||
void | void clear() | ||||
void | void add(Json[string] newWidgets) |