Replies: 5 comments
-
Hi @ bieldiaz, thanks for reaching out. I don't have much experience with Angular, but to understand the issue better, can you share more details on what happens when you use that feature? |
Beta Was this translation helpful? Give feedback.
-
Hello @samaneh-kazemi, thank you for your reply. I want to detect if the device is compatible with AR with the |
Beta Was this translation helpful? Give feedback.
-
Hi @benmbark, knowing if device can support AR is only approximate (you aren't allowed to know for sure due to finger-printing concerns in the browser). We hide the AR button when we know AR is not supported, but it sometimes shows when AR still fails. What problem you are trying to solve? |
Beta Was this translation helpful? Give feedback.
-
ar-status is not getting fired at all, is this normal? |
Beta Was this translation helpful? Give feedback.
-
ar-status only applies to WebXR AR sessions, not Scene Viewer or Quick Look (which don't give us any feedback): https://modelviewer.dev/docs/index.html#entrydocs-augmentedreality-css-arStatus You can check if AR works (not 100%, but decent) using https://modelviewer.dev/docs/index.html#entrydocs-augmentedreality-properties-canActivateAR |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hello model-viewer team. I'm working with Angular 13 project. And I want to get the
ar-status
event from model viewer. But i doesn't works for me. Anyone is working with Angular and it happends the same?I had been installed the model viewer library by npm.
Live Demo
Im getting the model-visibitilty event and this works for me very well.
Version
Browser Affected
OS
AR
Beta Was this translation helpful? Give feedback.
All reactions