mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Merge pull request #327 from mayowa/dev
fix typo in htmx.off example thanks!
This commit is contained in:
commit
a7d8f444ab
@ -256,7 +256,7 @@ or
|
|||||||
htmx.off("click", myEventListener);
|
htmx.off("click", myEventListener);
|
||||||
|
|
||||||
// remove this click listener from the given div
|
// remove this click listener from the given div
|
||||||
var allParagraphsInMyDiv = htmx.find(htmx.find("#my-div"), "click", myEventListener)
|
var allParagraphsInMyDiv = htmx.off(htmx.find("#my-div"), "click", myEventListener)
|
||||||
```
|
```
|
||||||
|
|
||||||
### <a name="on"></a> Method - [`htmx.on()`](#on)
|
### <a name="on"></a> Method - [`htmx.on()`](#on)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user