Ticker
A ticker is a span of text that can display a rotating message.
<x::ticker>
Property | Description |
---|---|
timeout | The time in milliseconds between rotations. |
repeat | If set to false then the ticker will not repeat. Default is true . |
<p>
I can count to
<x:ticker timeout="500" repeat="false">
1; 2; 3; 4; 5; 6; 7; 8; 9; 10
</x:ticker>.
</p>
I can count to 1 2 3 4 5 6 7 8 9 10 .
<p>
As easy as
<x:ticker class:="bg-black/80 text-white px-1">
one; two; three
</x:ticker>.
</p>
As easy as one two three .