Input Parameters are a core, unique part of Hex. Input parameters can be added at any point in the Hex notebook logic flow, and then added to the App View canvas as part of user-facing interfaces.
Users can add input parameters from the "Add Cell" menus at the top of the logic view or from between cells
If you highlight and right-click some code, you can use the "Add Input Parameter" option to replace it with an input value directly.
All input parameters have two base options, accessible from the configuration menu:
Label: text label displayed above the element, primarily in the App View.
Name: reference name in code, prefixed with a $. Changing this name will automatically update references to this parameter throughout the logic view.
Inputs are stored as Python variables prefixed with a "$", e.g.,
$input_1 that can be accessed similar to any others.
Input variables cannot have their values reassigned, e.g.,
$some_param = 123 will not effectively re-assign the parameter to 123.