MCPcopy
hub / github.com/bubkoo/html-to-image / getCaptureNode

Function getCaptureNode

test/spec/helper.ts:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { getPixelRatio } from '../../src/util'
5
6export function getCaptureNode() {
7 return document.getElementById('dom-node') as HTMLDivElement
8}
9
10export function getReferenceImage() {
11 return document.getElementById('ref-image') as HTMLImageElement

Callers 4

bootstrapFunction · 0.85
logDataUrlFunction · 0.85
renderAndCheckFunction · 0.85
assertTextRenderedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…