Skip to main content

Stat Counter

Example

A8Studio

API Methods

setBackground

Sets the background for StatCounter.

setBackground(background: object): void

setColor

Sets the background for StatCounter.

setColor(color: object): void

setLabel

Sets the label of the field.

setLabel(label: string): void

setSize

Sets the size only by using the parameters passed in.

setSize(size: "small" | "medium" | "large"): void

setValue

Sets the value of a field.

setValue(data: string): void

setVisibility

Sets if elements of the given category is visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the hide condition

setVisibilityCondition(condition: string): void