Zebra API Doc

zebra.ui.ImageLabel Class

Extends zebra.ui.Panel

Image label UI component. This is UI container that consists from an image component and an label component.Image is located at the left size of text.

Constructor

zebra.ui.ImageLabel

(
  • img
  • txt
)

Parameters:

Item Index

Methods

setCaption

(
  • c
)

Set the specified caption

Parameters:

  • c String

    an image label caption text

setImage

(
  • p
)

Set the specified label image

Parameters:

  • p String | Image

    a path to an image of image object