<aside>
A side note set apart from the main text, as HTML's aside element; it works like a block.
<column style="gap-12">
<p>Sourdough needs a starter that has been fed in the last 12 hours.</p>
<aside style="bg-amber-50 dark:bg-gray-800 border-l-4 border-amber-500 p-12 rounded-lg">
<text style="font-bold">Tip</text>
<text>A spoon of starter that floats in water is ready to bake with.</text>
</aside>
</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 |
style |
Style classes string |
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.