Skip to content

Exit AR event #3457

Answered by danilokrulj
danilokrulj asked this question in Q&A
May 13, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

modelViewer.shadowRoot.querySelector('#default-exit-webxr-ar-button').addEventListener("click", function());

this is the way to go, in case anyone else gets stuck here :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@elalish
Comment options

@PaoloDivision5
Comment options

@elalish
Comment options

Answer selected by danilokrulj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants