Skip to content

Commit 52cf36f

Browse files
authored
Update README.md
1 parent cacb2ff commit 52cf36f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ enqueue = async () => {
5656
QueueIt.once('openingQueueView', () => {
5757
console.log('opening queue page..');
5858
});
59+
60+
//We wait for the `webViewClosed` event to be emitted when the user click on queueit://close link.
61+
QueueIt.once('webViewClosed', () => {
62+
console.log('The queue page is closed by the user.');
63+
});
64+
5965
//Optional layout name that should be used for the waiting room page
6066
const layoutName = null;
6167
//Optional language for the waiting room page

0 commit comments

Comments
 (0)