Skip to content

Commit

Permalink
[docs] Fix outdated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarcos committed Nov 14, 2023
1 parent 8bc4181 commit 4418c48
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/components/xr-mode-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ parent_section: components
source_code: src/components/scene/xr-mode-ui.js
---

The xr-mode-ui component allows disabling of UI such as an Enter VR button, compatibility
The xr-mode-ui component allows configuring and disabling of UI such as the enter VR / AR button, compatibility
modal, and orientation modal for mobile. The xr-mode-ui component applies only
to the [`<a-scene>` element][scene]. If we wish to simply toggle the UI, use CSS instead.


## Example

```html
Expand All @@ -26,9 +27,7 @@ to the [`<a-scene>` element][scene]. If we wish to simply toggle the UI, use CSS
| enterVREnabled | If the VR button is displayed when applicable | false |
| enterARButton | Selector to a custom AR button. On click, the button will enter AR. | '' |
| enterAREnabled | If the AR button is displayed when applicable | false |
| enterXRButton | Selector to a custom AR button. On click, the button will enter AR. | '' |
| enterXREnabled | If the AR button is displayed when applicable | true |
| XRMode | Mode that the site enters when clicking the XR button (ar or vr). | vr |
| XRMode | If the AR, VR button or both will be displayed. | ar, vr, xr |

### Specifying a Custom Enter VR Button

Expand Down

0 comments on commit 4418c48

Please sign in to comment.