Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 768 Bytes

Image.md

File metadata and controls

36 lines (22 loc) · 768 Bytes

Image

Displays a raster or vector image asset.

<Image ... />

Overview

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.

Topics

Properties

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.

Example

<Image />

Platform notes

  • AppKit uses the AppKit implementation. UIKit uses the UIKit implementation.

Source: lua/embedded/AppKit.lua:1005 (AppKit.Image)