Displays a raster or vector image asset.
<Image ... />This component is backed by the platform control or container. Prefer its XML tag in an .etlua template; keep view-tree construction out of controllers.
| Name | Type | Required | Description |
|---|---|---|---|
contentMode |
string | optional | Image scaling mode such as fit or fill. |
fileIcon |
string | optional | Displays a system file icon for the path. |
<Image />
- AppKit uses the AppKit implementation. UIKit uses the UIKit implementation.
Source: lua/embedded/AppKit.lua:1005 (AppKit.Image)