Optional properties for Image property item

Hierarchy

Properties

alignment?: LayoutAlignment

Remarks

Alignment of the image in the container. If not defined, LayoutAlignment.Left is used.

enable?: boolean

Remarks

Initial enabled state of property item. If undefined, it will default to true.

imageSize?: number | {
    height: number;
    width: number;
}

Type declaration

  • height: number
  • width: number

Remarks

Size of the image. If undefined, defaults to 10.

onClick?: ((x, y) => void)

Type declaration

    • (x, y): void
    • Parameters

      • x: number
      • y: number

      Returns void

      Remarks

      Called when image is clicked.

visible?: boolean

Remarks

Initial visibility state of property item. If undefined, it will default to true.