Docs (4.0.0)
Controls

class UIImage

A view class that represents an image control.

class UIImage
extends UIComponent

Description

An image component is rendered on-screen as a rectangular image, loaded from the provided (data or remote) URL.

Constructor

Type Members

Instance Members

  • urlThe image resource URL.
  • widthTarget width of the image, in pixels or CSS length with unit.
  • heightTarget height of the image, in pixels or CSS length with unit.
  • allowFocusTrue if this image may receive input focus.
  • allowKeyboardFocusTrue if this image may receive input focus using the keyboard (e.g. Tab key).
  • styleThe style to be applied to this image.

Inherited Members