We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8faebff commit 9f963c6Copy full SHA for 9f963c6
1 file changed
index.ts
@@ -60,7 +60,9 @@ declare const htmx: typeof htmxType;
60
61
if (api.swap) {
62
// Pass contextElement to enable OOB swap processing (Issue #117)
63
- api.swap(target, response, swapSpec, { contextElement: elt });
+ api.swap(target, response, swapSpec, {
64
+ contextElement: elt,
65
+ } as any);
66
} else {
67
api.selectAndSwap(
68
swapSpec.swapStyle,
0 commit comments