zero.appdocs

Dropdown

Presentations v1.0 zero-schema

No description provided.

Required fields

PresentationType

Properties

PresentationType string required
Dropdown is like a box with a list of choices inside. When you tap on it, the box opens up, showing you all the choices. You can then pick one, and that choice appears on the box's top
Allowed Dropdown
BackgroundColor string optional
The background color of the container, which can be specified using color names, primary color ('primary'), or hexadecimal color codes.
Color string optional
The color of the container, which can be specified using color names, primary color ('primary'), or hexadecimal color codes.
Key string optional
A string that serves as a unique identifier for the select widget.
Values array optional
An array containing the possible values that can be selected in the select widget.
Url string optional
A string representing a URL associated with the select widget
Text string optional
A string that represents the name or label of the select widget.
Default "Undefined"
Title string optional
A string used as the title or heading for the select widget.
Value string optional
A string representing the selected value of the select widget.
FontSize number optional
A number representing the font size of the text displayed in the select widget.
Default 15
IconSize number optional
A number representing the font size of the text displayed in the select widget.
Default 15
offset integer optional
The offset value contain x and y where x is the horizontal offset of the shadow from the container and y is the vertical offset of the shadow from the container

Studio editor metadata

Shapes the studio editor; not enforced at runtime.

BackgroundColor
{
  "OnChange": {
    "To": "{{ Id }}",
    "Handler": "Whisper"
  },
  "InitialValue": "{{ Value }}",
  "DisplayText": "BackgroundColor",
  "PresentationType": "ColorPicker"
}
Color
{
  "OnChange": {
    "To": "{{ Id }}",
    "Handler": "Whisper"
  },
  "InitialValue": "{{ Value }}",
  "DisplayText": "Color",
  "PresentationType": "ColorPicker"
}