MCPcopy Index your code
hub / github.com/microsoft/SandDance / rootEncode

Function rootEncode

docs/app/js/sanddance-app.js:149345–149362  ·  view source on GitHub ↗
(spec)

Source from the content-addressed store, hash-verified

149343 return scope;
149344}
149345const rootEncode = (spec)=>extendEncode({
149346 enter: {
149347 x: {
149348 value: 0
149349 },
149350 y: {
149351 value: 0
149352 }
149353 },
149354 update: {
149355 width: {
149356 signal: "width"
149357 },
149358 height: {
149359 signal: "height"
149360 }
149361 }
149362 }, spec);
149363function parseView(spec, scope) {
149364 const config = scope.config; // add scenegraph root
149365 const root = ref(scope.root = scope.add(operator())); // parse top-level signal definitions

Callers 1

parseViewFunction · 0.70

Calls 1

extendEncodeFunction · 0.70

Tested by

no test coverage detected