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

Method constructor

docs/app/js/sanddance-app.js:4932–4944  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

4930var _zBase = require("../zBase");
4931class Square extends (0, _layout.Layout) {
4932 constructor(props){
4933 super(props);
4934 this.props = props;
4935 const p = this.prefix = `square_${this.id}`;
4936 this.names = {
4937 bandWidth: this.getBandWidth(),
4938 maxGroupField: `${p}_max_group`,
4939 maxGroupSignal: `${p}_max_grouping`,
4940 stack0: `${p}_stack0`,
4941 stack1: `${p}_stack1`,
4942 zScale: `scale_${p}_z`
4943 };
4944 }
4945 build() {
4946 const { names , prefix , props } = this;
4947 const { fillDirection , globalScope , groupings , parentScope , collapseYHeight , sortBy , z } = props;

Callers

nothing calls this directly

Calls 1

getBandWidthMethod · 0.95

Tested by

no test coverage detected