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

Method createLayout

docs/app/js/sanddance-app.js:2912–2919  ·  view source on GitHub ↗
(layoutPair, buildProps)

Source from the content-addressed store, hash-verified

2910 };
2911 }
2912 createLayout(layoutPair, buildProps) {
2913 const { layoutType , props } = layoutPair;
2914 const layoutBuildProps = Object.assign(Object.assign({}, props), buildProps);
2915 const layoutClass = (0, _index.layoutClasses)[layoutType];
2916 const layout = new layoutClass(layoutBuildProps);
2917 layout.id = buildProps.id;
2918 return layout;
2919 }
2920}
2921
2922},{"./axes":"k0gIV","./color":"3l3dx","./constants":"9PPhV","./defaults":"lzTCE","./facetTitle":"lkHaR","./fill":"1PEiC","./globalScope":"gPmWz","./scope":"91ogX","./signals":"62U7A","./layouts/index":"e7Zx3","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"k0gIV":[function(require,module,exports) {

Callers 1

iterateLayoutsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected