<content>
A content area with 16 px of padding built in, for paragraphs and other reading text.
<block style="w-full rounded-xl bg-gray-100 dark:bg-gray-800">
<content>
<text style="font-bold">About this trail</text>
<p>A gentle 4 km loop through pine woods, with a lake view at the halfway point.</p>
</content>
</block>
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.