GenEst (version 1.2.4)

widgetMaker: Input Widget Maker

Description

Basic generalized function for creating an input widget based on the condition of the widget being presented, the name of the widget, the function used to create it, it's label on the UI, and any additional arguments.

Usage

widgetMaker(Condition, Name, Fun, Label, Args)

Arguments

Condition

Condition under which the widget is present to the user.

Name

Name (id) of the widget created.

Fun

Function name (as character) used to create the widget.

Label

Label presented to the user in the UI for the widget.

Args

List of any additional arguments to be passed to the widget creating function.

Value

HTML for the widget.