Skip to content

Commit 447d87c

Browse files
Bump A-Frame documentation (aframevr/aframe@42a1ad7...9db4268).
1 parent 0c90c3c commit 447d87c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎docs/master/components/vr-mode-ui.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,8 +1072,14 @@ <h2 id="properties"><a href="#properties" class="headerlink" title="Properties">
10721072
<td>Whether or not to display UI related to entering VR.</td>
10731073
<td>true</td>
10741074
</tr>
1075+
<tr>
1076+
<td>enterVRButton</td>
1077+
<td>Selector to a custom VR button. On click, the button will enter VR.</td>
1078+
<td>‘’</td>
1079+
</tr>
10751080
</tbody>
10761081
</table>
1082+
<h3 id="specifying-a-custom-enter-vr-button"><a href="#specifying-a-custom-enter-vr-button" class="headerlink" title="Specifying a Custom Enter VR Button"></a>Specifying a Custom Enter VR Button</h3><figure class="highlight html"><table><tr><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">a-scene</span> <span class="attr">vr-mode-ui</span>=<span class="string">"enterVRButton: #myEnterVRButton"</span>&gt;</span></span><br><span class="line"> <span class="comment">&lt;!-- Style the button with images or whatever. --&gt;</span></span><br><span class="line"> <span class="tag">&lt;<span class="name">a</span> <span class="attr">id</span>=<span class="string">"myEnterVRButton"</span> <span class="attr">href</span>=<span class="string">"#"</span>&gt;</span><span class="tag">&lt;/<span class="name">a</span>&gt;</span></span><br><span class="line"><span class="tag">&lt;/<span class="name">a-scene</span>&gt;</span></span><br></pre></td></tr></table></figure>
10771083

10781084

10791085
<!-- Previous / Next navigation. -->
@@ -1126,6 +1132,10 @@ <h2 id="properties"><a href="#properties" class="headerlink" title="Properties">
11261132

11271133
<ul>
11281134

1135+
<li class="subnav-item">
1136+
<a class="subnav-link" href="#specifying-a-custom-enter-vr-button">Specifying a Custom Enter VR Button</a>
1137+
</li>
1138+
11291139
</ul>
11301140

11311141
</li>

0 commit comments

Comments
 (0)