mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00

* reworked the swap code did away with merge in favor of general attributes swapping * updated docs * changed hx-swap-direct to hx-swap-oob * updated build script to create a .gz so I can know what size that is * cleaned up code so it's easier to follow
29 lines
538 B
Markdown
29 lines
538 B
Markdown
---
|
|
layout: layout.njk
|
|
title: HTMx - HTML Extensions / Attributes
|
|
---
|
|
|
|
## <<span class="flair">/</span>> Attributes</h2>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Attribute</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>hx-get</td>
|
|
<td>Issues an HTTP GET to the given URL</td>
|
|
</tr>
|
|
<tr>
|
|
<td>hx-target</td>
|
|
<td>Specifies the target element that should be swapped</td>
|
|
</tr>
|
|
<tr>
|
|
<td>hx-swap</td>
|
|
<td>Specifies how target element should be swapped: innerHTML, outerHTML, append</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|