MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / htmx.test.ts

File htmx.test.ts

src/test/resources/libraries/htmx/htmx-1.9.2/src/htmx.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import htmx from "./htmx";
2
3// add the class 'myClass' to the element with the id 'demo'
4htmx.addClass(htmx.find("#demo"), "myClass");

Callers

nothing calls this directly

Calls 13

offMethod · 0.80
onMethod · 0.80
removeClassMethod · 0.80
addClassMethod · 0.45
findMethod · 0.45
ajaxMethod · 0.45
closestMethod · 0.45
logMethod · 0.45
onLoadMethod · 0.45
initMethod · 0.45
processMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected