context.levels
ContextAPI 2count levels (default 7), 0–1, of everything this toolbar is playing, from bass to treble.
| Signature | context.levels(count?: number, options?: LevelOptions): readonly number[] |
|---|---|
| Take it from | const { levels } = useToolbar(); |
Parameters
| Parameter | Type | Description |
|---|---|---|
count | number | Optional. |
options | LevelOptions | Optional. |
Return Value
| Type | readonly number[] |
|---|
Availability
| Applicable versions | API 2 and higher |
|---|---|
| Bundleware | 0.3.0, build 2026.10.30 |