MCPcopy Index your code
hub / github.com/pyscript/pyscript / target

Function target

core/src/core.js:175–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173 interpreter,
174 js_import: (...urls) => Promise.all(urls.map((url) => import(url))),
175 get target() {
176 return isScript(currentElement)
177 ? currentElement.target.id
178 : currentElement.id;
179 },
180 });
181 };
182

Callers

nothing calls this directly

Calls 1

isScriptFunction · 0.85

Tested by

no test coverage detected