This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
quick_reference_parameters [2018/03/24 13:13] z3dev |
quick_reference_parameters [2018/09/11 11:11] z3dev |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Design Parameters ===== | + | ==== Design Parameters ==== |
A design can have parameters by declaring a special function; getParameterDefinitions(). | A design can have parameters by declaring a special function; getParameterDefinitions(). | ||
In applications and browsers, these parameters are presented to users, allowing users to interactively change designs. | In applications and browsers, these parameters are presented to users, allowing users to interactively change designs. | ||
- | ==== Usage ==== | + | === Usage === |
This function must return an array of parameter definitions, as show below. | This function must return an array of parameter definitions, as show below. | ||
Line 25: | Line 25: | ||
</code> | </code> | ||
- | ==== Parameter Types ==== | + | === Parameter Types === |
The parameters are defined as input fields on a single HTML5 form, i.e. the list of parameters. For more information on HTML5 input fields, see some examples at [[http://www.w3schools.com/html/html_form_input_types.asp|W3 Schools]]. | The parameters are defined as input fields on a single HTML5 form, i.e. the list of parameters. For more information on HTML5 input fields, see some examples at [[http://www.w3schools.com/html/html_form_input_types.asp|W3 Schools]]. | ||