Skip to content

Commit

Permalink
Merge pull request #19 from whereby/jamesdooley/pan-825-add-event-lis…
Browse files Browse the repository at this point in the history
…tener-for-people-button

browser-sdk: Add peopleToggle to types and examples
  • Loading branch information
thyal authored Feb 20, 2024
2 parents 9641c7d + 4eb75f8 commit 7ca303b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-eagles-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@whereby.com/browser-sdk": patch
---

Adds people_toggle to example docs
1 change: 1 addition & 0 deletions apps/embed-element-app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const events = [
"participant_join",
"participant_leave",
"participantupdate",
"people_toggle",
"pip_toggle",
"screenshare_toggle",
];
Expand Down
1 change: 1 addition & 0 deletions packages/browser-sdk/src/lib/embed/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ interface WherebyEmbedElementEventMap {
microphone_toggle: CustomEvent<{ enabled: boolean }>;
camera_toggle: CustomEvent<{ enabled: boolean }>;
chat_toggle: CustomEvent<{ open: boolean }>;
people_toggle: CustomEvent<{ open: boolean }>;
pip_toggle: CustomEvent<{ open: boolean }>;
deny_device_permission: CustomEvent<{ denied: boolean }>;
screenshare_toggle: CustomEvent<{ enabled: boolean }>;
Expand Down

0 comments on commit 7ca303b

Please sign in to comment.