Skip to content

Commit

Permalink
📚 [Docs] Update API reference to keys event
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed Dec 22, 2023
1 parent 2e3534c commit b5d258b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ manager.activeEvents;

// Event called whenever the `keys` property changes. This is useful
// to subscribe to changes in the internal “stack library”.
(event: 'keys', listener: (newKeys: StackId[], oldKeys: StackId[]) => void)
(event: 'library', listener: (newKeys: StackId[], oldKeys: StackId[]) => void)

// Event called whenever the `volume` property changes.
(event: 'volume', listener: (level: number) => void)
Expand Down

0 comments on commit b5d258b

Please sign in to comment.