From d4c9306426645a342c2d20c3447f546fd36ef09a Mon Sep 17 00:00:00 2001 From: Diego Marcos Segura Date: Mon, 23 Oct 2023 17:54:57 -0700 Subject: [PATCH] Fix references to the old vr-mode-ui component --- docs/components/xr-mode-ui.md | 10 +++++----- docs/core/scene.md | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/components/xr-mode-ui.md b/docs/components/xr-mode-ui.md index 8125e3bdfb4..7352ed1a562 100644 --- a/docs/components/xr-mode-ui.md +++ b/docs/components/xr-mode-ui.md @@ -3,17 +3,17 @@ title: xr-mode-ui type: components layout: docs parent_section: components -source_code: src/components/scene/vr-mode-ui.js +source_code: src/components/scene/xr-mode-ui.js --- -The vr-mode-ui component allows disabling of UI such as an Enter VR button, compatibility -modal, and orientation modal for mobile. The vr-mode-ui component applies only +The xr-mode-ui component allows disabling of UI such as an Enter VR button, compatibility +modal, and orientation modal for mobile. The xr-mode-ui component applies only to the [`` element][scene]. If we wish to simply toggle the UI, use CSS instead. ## Example ```html - + ``` ## Properties @@ -34,7 +34,7 @@ to the [`` element][scene]. If we wish to simply toggle the UI, use CSS ```html + xr-mode-ui="enterVRButton: #myEnterVRButton; enterARButton: #myEnterARButton"> diff --git a/docs/core/scene.md b/docs/core/scene.md index 979a6c46010..7317b29ac8a 100644 --- a/docs/core/scene.md +++ b/docs/core/scene.md @@ -93,7 +93,7 @@ Components can be attached to the scene as well as entities: [keyboard-shortcuts]: ../components/keyboard-shortcuts.md [inspector]: ../introduction/visual-inspector-and-dev-tools.md [stats]: ../components/stats.md -[vr-mode-ui]: ../components/vr-mode-ui.md +[xr-mode-ui]: ../components/xr-mode-ui.md A-Frame ships with a few components to configure the scene: @@ -102,7 +102,7 @@ A-Frame ships with a few components to configure the scene: - [keyboard-shortcuts][keyboard-shortcuts] - Toggle keyboard shortcuts. - [inspector][inspector] - Inject the A-Frame Inspector. - [stats][stats] - Toggle performance stats. -- [vr-mode-ui][vr-mode-ui] - Toggle UI for entering and exiting VR. +- [xr-mode-ui][xr-mode-ui] - Toggle UI for entering and exiting VR. ## Running Content Scripts on the Scene