Skip to main content
Version: 4.1.0

StatsComponent

Hierarchy

  • Component<WidgetProps>
    • StatsComponent

Index

Constructors

constructor

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

    • props: WidgetProps

    Returns StatsComponent

Properties

height

height: number = 0

isMouseEntered

isMouseEntered: boolean = false

width

width: number = 0

Accessors

statsData

  • get statsData(): RegionStatsData
  • Returns RegionStatsData

widgetStore

  • get widgetStore(): StatsWidgetStore
  • Returns StatsWidgetStore

publicstaticWIDGET_CONFIG

  • get WIDGET_CONFIG(): DefaultWidgetConfig
  • Returns DefaultWidgetConfig

Methods

exportData

  • exportData(): void
  • Returns void

hideMouseEnterWidget

  • hideMouseEnterWidget(): void
  • Returns void

onMouseEnter

  • onMouseEnter(): void
  • Returns void

onMouseLeave

  • onMouseLeave(): void
  • Returns void

publicrender

  • render(): Element
  • Returns Element

showMouseEnterWidget

  • showMouseEnterWidget(): void
  • Returns void