From afc68a52ac1891dd33a7d36e3038a8ae37c08c62 Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Mon, 6 Nov 2023 20:57:28 +0000 Subject: [PATCH] add docs for multiple event listeners --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 5e21559..255bfc5 100644 --- a/readme.md +++ b/readme.md @@ -56,10 +56,10 @@ Specifies the HTTP method to use when fetching data. If omitted, it defaults to ### `hx-event` -Specifies the event that triggers the data fetch. Defaults to `onload`. Possible values are `onload`, `onclick`, `onsubmit`, etc. +Specifies the event that triggers the data fetch. Defaults to `onload`. Possible values are `onload`, `onclick`, `onsubmit`, etc. You can define multiple events to listen by seperating them by commas. ```html - + ``` ### `hx-error`