-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" /> | ||
``` |