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"
Allowed DefaultUI DefaultMonospace Google:Inter Google:Roboto Google:Open Sans Google:Lato Google:Montserrat Google:Poppins Google:Nunito Google:Nunito Sans Google:Raleway Google:Work Sans Google:Rubik Google:Karla Google:Manrope Google:DM Sans Google:Outfit Google:Sora Google:Space Grotesk Google:Plus Jakarta Sans Google:Barlow Google:Cabin Google:Ubuntu Google:PT Sans Google:Fira Sans Google:Josefin Sans Google:Quicksand Google:Archivo Google:Noto Sans Google:Merriweather Google:Playfair Display Google:Lora Google:PT Serif Google:EB Garamond Google:Libre Baskerville Google:Crimson Text Google:Roboto Slab Google:Zilla Slab Google:Noto Serif Google:Oswald Google:Bebas Neue Google:Anton Google:Pacifico Google:Dancing Script Google:Caveat Google:Comfortaa Google:Righteous Google:Fira Code Google:JetBrains Mono Google:Roboto Mono Google:Source Code Pro Google:Space Mono Google:Inconsolata Google:Mukta Google:Hind Google:Noto Sans Devanagari
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"
}