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
This accepts a sequence of values, and moves to the next value after every call to next.
15
-
The sequence can be something simple as a toggle between states, or a complex sequence generated by a function.
16
+
The sequence can be something as simple as an array of two values to toggle between states,
17
+
or as complex as a sequence generated by a function.
18
+
</p>
19
+
<p>
20
+
This signal can accept anything that implements the <code class="inline">Iterator</code> spec or that matches the <code class="inline">ArrayLike</code> interface.
21
+
A special type called <code class="inline">Cursor</code> can also be provided to allow more custom behavior.
22
+
This type is very similar to an <code class="inline">Iterator</code>, but has explicit methods to reset and move to specific values.
23
+
</p>
24
+
<p>
25
+
This signal has <code class="inline">set</code> and <code class="inline">update</code> methods like any writeable signal.
26
+
These methods will throw errors if the values aren't present in the sequence.
0 commit comments