zero.appdocs

Image

Presentations v1.0 zero-schema

No description provided.

Required fields

PresentationType Url

Properties

PresentationType string required
The images that are represented by a URL.
Allowed Image
Alignment string optional
Describes where the image should be positioned within its container
Allowed TopLeft TopRight TopCenter Center CenterRight CenterLeft ButtomRight BottomRight BottomCenter
BackgroundColor string optional
The background color of the Image, which can be specified using color names, primary color ('primary'), or hexadecimal color codes.
BorderRadius number optional
The radius of the container's corners, creating a rounded appearance, specified in pixels
Default 0
Fit string optional
The method used to fit the image within the container, such as filling the container or fitting the image.
Allowed Fill Cover FitHeight FitWidth Contain
Url string required
The web address (URL) where the image file is located.
Scale number optional
A number representing the image's size scaling factor
Default 1
Width number optional
Width of Image in pixels
Height number optional
Height of Image in pixels

Studio editor metadata

Shapes the studio editor; not enforced at runtime.

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