From 3dc1ffb2ff80d5fa37b14d6313c07b2b9a9f0657 Mon Sep 17 00:00:00 2001 From: Raine Date: Sun, 24 Dec 2023 20:41:19 +0100 Subject: [PATCH] fix: documentation stupidity --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f06f10..d616a3f 100644 --- a/README.md +++ b/README.md @@ -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"` | \ No newline at end of file