fix: documentation stupidity

This commit is contained in:
Strix 2023-12-24 20:41:19 +01:00
parent ff01197ee6
commit 3dc1ffb2ff
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -31,6 +31,6 @@ Attributes you can use
| --------- | ---------------- | ----------------------------------------------------------- | ------------------------------ |
| http | `x-get` | set the element's contents to the result of the get request | `x-get="./content"` |
| http | `x-get-interval` | use with `x-get` to poll the endpoint (millis) | `x-get-interval=1000` |
| http,copy | `x-inner-html` | instead of using innerHTML use innerText | `x-inner-html` |
| http,copy | `x-inner-text` | instead of using innerHTML use innerText | `x-inner-text` |
| copy | `x-copy-query` | copy contents of element matching query selector | `x-copy-query="#content"` |
| locale | `x-locale-key` | fetch locale key and put it in innerHTML | `x-locale-key="main.greeting"` |