zero.appdocs

Tooltip

Presentations v1.0 zero-schema

No description provided.

Required fields

PresentationType

Properties

PresentationType string required
Tooltip provides a brief, informative message that is displayed when a user long-presses or hovers over a widget.
Message string optional
he message text that will be shown as primary content of the tooltip.
Height number optional
The height of the tooltip in pixels
BackgroundColor string optional
The background color of the tooltip which can be a valid color string (e.g., yellow or #FFFF00).
Color string optional
The background color of the tooltip which can be a valid color string (e.g., yellow or #FFFF00).
FontSize number optional
The size of the text inside the tooltip in pixels
Default 16
FontFamily string optional
The font family used for the text in the tooltip.
Default "DefaultUI"
FontWeight string optional
The weight of the font used for the text in the tooltip.
Default "w400"
Padding number optional
The space between the text tooltip's content and its border.
Child object optional
The widget to which the tooltip is attached. When the user hovers over or long-presses this widget, the tooltip will be displayed.

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"
}