Skip to main content
Version: 4.1.0

ImageViewComponent

Hierarchy

  • Component<WidgetProps>
    • ImageViewComponent

Index

Constructors

constructor

  • new ImageViewComponent(props: WidgetProps): ImageViewComponent
  • Parameters

    • props: WidgetProps

    Returns ImageViewComponent

Properties

showRatioIndicator

showRatioIndicator: boolean = false

Accessors

panels

  • get panels(): Element[]
  • Returns Element[]

publicstaticWIDGET_CONFIG

  • get WIDGET_CONFIG(): DefaultWidgetConfig
  • Returns DefaultWidgetConfig

Methods

onResize

  • onResize(width: number, height: number): void
  • Parameters

    • width: number
    • height: number

    Returns void

render

  • render(): Element
  • Returns Element

setRatioIndicatorVisible

  • setRatioIndicatorVisible(val: boolean): void
  • Parameters

    • val: boolean

    Returns void