Description

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.

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
IWidgetIWidget _resolveWidget(Json[string] configData)
IWidgetIWidget get(string widgetName)
this(DStringContentsthis(DStringContents newTemplate, DView newView, Json[string] widgets = null)
voidvoid load(string fileToLoad)
voidvoid clear()
voidvoid add(Json[string] newWidgets)