diff --git a/README.md b/README.md index fae598c..4fcc979 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ func handler(w http.ResponseWriter, r *http.Request) { Reswap(htmx.SwapBeforeEnd). Retarget("#contacts"). AddTrigger(htmx.Trigger("enable-submit")). - AddTrigger(htmx.TriggerDetail("display-message", "Hello world!") + AddTrigger(htmx.TriggerDetail("display-message", "Hello world!")). Write(w) } }