summaryrefslogtreecommitdiffstatshomepage
path: root/www/examples/click-to-load.md
diff options
context:
space:
mode:
authorcarson <carson@leaddyno.com>2020-05-17 05:22:19 -0700
committercarson <carson@leaddyno.com>2020-05-17 05:22:19 -0700
commit3aa8c64754c323f367fae64342f4ac9c20ea5a3d (patch)
tree6de764954d60c019fb87359007919bb56f0fe8f1 /www/examples/click-to-load.md
parente1e4f25b0ef21e96eda192e69ab89e207dd7f617 (diff)
downloadhtmx-3aa8c64754c323f367fae64342f4ac9c20ea5a3d.tar.gz
htmx-3aa8c64754c323f367fae64342f4ac9c20ea5a3d.zip
le big re-rename
Diffstat (limited to 'www/examples/click-to-load.md')
-rw-r--r--www/examples/click-to-load.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/examples/click-to-load.md b/www/examples/click-to-load.md
index 19190fdf..72ff0d38 100644
--- a/www/examples/click-to-load.md
+++ b/www/examples/click-to-load.md
@@ -10,10 +10,10 @@ the final row:
```html
<tr id="replaceMe">
<td colspan="3">
- <button class='btn' kt-get="/contacts/?page=2"
- kt-target="#replaceMe"
- kt-swap="outerHTML">
- Load More Agents... <img class="kutty-indicator" src="/img/bars.svg">
+ <button class='btn' hx-get="/contacts/?page=2"
+ hx-target="#replaceMe"
+ hx-swap="outerHTML">
+ Load More Agents... <img class="htmx-indicator" src="/img/bars.svg">
</button>
</td>
</tr>
@@ -83,10 +83,10 @@ results (which will contain a button to load the *next* page of results). And s
return `<tr id="replaceMe">
<td colspan="3">
<center>
- <button class='btn' kt-get="/contacts/?page=${page + 1}"
- kt-target="#replaceMe"
- kt-swap="outerHTML">
- Load More Agents... <img class="kutty-indicator" src="/img/bars.svg">
+ <button class='btn' hx-get="/contacts/?page=${page + 1}"
+ hx-target="#replaceMe"
+ hx-swap="outerHTML">
+ Load More Agents... <img class="htmx-indicator" src="/img/bars.svg">
</button>
</center>
</td>