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

Method constructor

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

Source from the content-addressed store, hash-verified

5382var _zBase = require("../zBase");
5383class Strip extends (0, _layout.Layout) {
5384 constructor(props){
5385 super(props);
5386 this.props = props;
5387 const p = this.prefix = `strip_${this.id}`;
5388 this.names = {
5389 firstField: `${p}${(0, _constants.FieldNames).First}`,
5390 lastField: `${p}${(0, _constants.FieldNames).Last}`,
5391 valueField: `${p}${(0, _constants.FieldNames).Value}`,
5392 scale: `scale_${p}`,
5393 zScale: `scale_${p}_z`
5394 };
5395 }
5396 build() {
5397 const { names , prefix , props } = this;
5398 const { addPercentageScale , globalScope , groupings , orientation , size , sort , sortOrder , parentScope , z } = props;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected