MCPcopy Create free account
hub / github.com/microsoft/SandDance / containerSize

Function containerSize

docs/app/js/sanddance-app.js:143096–143105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143094 ];
143095}
143096function containerSize() {
143097 const view = this.context.dataflow, el = view.container && view.container();
143098 return el ? [
143099 el.clientWidth,
143100 el.clientHeight
143101 ] : [
143102 undefined,
143103 undefined
143104 ];
143105}
143106function intersect(b, opt, group) {
143107 if (!b) return [];
143108 const [u, v] = b, box = new (0, _vegaScenegraph.Bounds)().set(u[0], u[1], v[0], v[1]), scene = group || this.context.dataflow.scenegraph().root;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected