MCPcopy
hub / github.com/bigskysoftware/htmx / byId

Function byId

test/core/shadowdom.js:30–32  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

28
29 // Locally redefine the `byId` and `make` functions to use shadow DOM
30 function byId(id) {
31 return getWorkArea().shadowRoot.getElementById(id) || document.getElementById(id)
32 }
33 function make(htmlStr) {
34 htmlStr = htmlStr.trim()
35 var makeFn = function() {

Callers 11

extension-swap.jsFile · 0.70
shadowdom.jsFile · 0.70
internals.jsFile · 0.70
class-cleanup.jsFile · 0.70
ajax.jsFile · 0.70
validation.jsFile · 0.70
api.jsFile · 0.70
regressions.jsFile · 0.70
security.jsFile · 0.70
events.jsFile · 0.70
parameters.jsFile · 0.70

Calls 1

getWorkAreaFunction · 0.50

Tested by

no test coverage detected