You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p><strong>Get</strong> or <strong>Set</strong> the current enabled state of the controller.<br>This can be used to disable all Scenes connected to the controller without destroying or removing them.</p>
770
+
</div>
771
+
772
+
773
+
774
+
775
+
776
+
777
+
778
+
<h5>Parameters:</h5>
779
+
780
+
781
+
<tableclass="params table table-striped">
782
+
<thead>
783
+
<tr>
784
+
785
+
<th>Name</th>
786
+
787
+
788
+
<th>Type</th>
789
+
790
+
791
+
<th>Argument</th>
792
+
793
+
794
+
795
+
796
+
<thclass="last">Description</th>
797
+
</tr>
798
+
</thead>
799
+
800
+
<tbody>
801
+
802
+
803
+
<tr>
804
+
805
+
<tdclass="name"><code>newState</code></td>
806
+
807
+
808
+
<tdclass="type">
809
+
810
+
811
+
<spanclass="param-type">boolean</span>
812
+
813
+
814
+
815
+
</td>
816
+
817
+
818
+
<tdclass="attributes">
819
+
820
+
<optional><br>
821
+
822
+
823
+
824
+
825
+
826
+
</td>
827
+
828
+
829
+
830
+
831
+
<tdclass="description last"><p>The new enabled state of the controller <code>true</code> or <code>false</code>.</p></td>
<preclass="sunlight-highlight-javascript">// get the current valuevar enabled = controller.enabled();// disable the controllercontroller.enabled(false);</pre>
<p>Update a specific scene according to the scroll position of the container.<br>This is the equivalent to <code>ScrollScene.update()</code></p>
1540
+
<p>Update one ore more scene(s) according to the scroll position of the container.<br>This is the equivalent to <code>ScrollScene.update()</code></p>
1387
1541
</div>
1388
1542
1389
1543
@@ -1421,7 +1575,7 @@ <h5>Parameters:</h5>
1421
1575
1422
1576
<tr>
1423
1577
1424
-
<tdclass="name"><code>scene</code></td>
1578
+
<tdclass="name"><code>ScrollScene</code></td>
1425
1579
1426
1580
1427
1581
<tdclass="type">
@@ -1560,7 +1714,7 @@ <h5>Returns:</h5>
1560
1714
1561
1715
<h5>Example</h5>
1562
1716
1563
-
<preclass="sunlight-highlight-javascript">// update a specific scene on next tickcontroller.updateScene(scene);// update a specific scene immediatelycontroller.updateScene(scene, true);</pre>
1717
+
<preclass="sunlight-highlight-javascript">// update a specific scene on next tickcontroller.updateScene(scene);// update a specific scene immediatelycontroller.updateScene(scene, true);// update multiple scenes scene on next tickcontroller.updateScene([scene1, scene2, scene3]);</pre>
0 commit comments