spz-rng
When to Use
Needed to display random numbers that change randomly within an interval, generally used for randomly calculating the current number of viewers.
Code Demonstration
Basic Usage
The function does not work when the minimum value is greater than or equal to the maximum value, or when the range of random change is zero. When the delay reaches the random interval time, it will randomly add or subtract a number within the range of random change.
Attributes
AI Summary (LLM Ready)
- Component ID:
spz-rng - One-line purpose: Displays random numbers that change randomly within a set interval.
- Detected attribute rows: 4
- Detected method subsections: 0
- Detected event subsections: 0
- Top attribute names:
max,min,change-range,interval-seconds - Top method names: none (needs manual completion)
- Top event names: none (needs manual completion)
- Reading order: start from usage/examples, then verify attributes, methods, and events.
- Related docs: /en/guide/actions-and-events/ , /en/guide/layouts/