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

Method resize

docs/app/js/sanddance-app.js:9192–9199  ·  view source on GitHub ↗
(width, height, origin)

Source from the content-addressed store, hash-verified

9190 return super.initialize(el, width, height, origin);
9191 }
9192 resize(width, height, origin) {
9193 super.resize(width, height, origin);
9194 this.origin = origin;
9195 this.height = height;
9196 this.width = width;
9197 //rteturn this for vega
9198 return this;
9199 }
9200 _render(scene, items) {
9201 const scene3d = scene;
9202 scene3d.view = this.getView();

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected