<col>
A box inside a row; its flex value sets its share of the row's width.
<column style="gap-8 w-full">
<text style="muted text-sm">Sleep last week: deep, light, awake</text>
<row style="gap-4 w-full">
<col flex="2"
style="h-40 rounded-lg bg-indigo-500"/>
<col flex="5"
style="h-40 rounded-lg bg-indigo-200"/>
<col flex="1"
style="h-40 rounded-lg bg-orange-300"/>
</row>
</column>
Attributes
| Name | What it does | Default |
|---|---|---|
autoscroll-delay |
Autoscroll delay in seconds number |
0.0 |
autoscroll-loop |
Whether autoscroll loops boolean |
false |
autoscroll-restart |
Autoscroll restart delay in seconds, or 'false' to disable string |
|
autoscroll-speed |
Autoscroll speed in pixels per second number |
|
autoscroll-target |
page: scroll the screen; self: scroll inside this box (give it a height). parent is accepted as self. page, self |
page |
Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.