MCPcopy Create free account
hub / github.com/alignoth/alignoth / assembleDefaultLayout

Method assembleDefaultLayout

resources/vega-lite.min.js:12977–12992  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12975 return e;
12976 }
12977 assembleDefaultLayout() {
12978 const { column: e, row: t } = this.facet,
12979 n = e ? this.columnDistinctSignal() : t ? 1 : void 0;
12980 let i = "all";
12981 return (
12982 ((t || "independent" !== this.component.resolve.scale.x) &&
12983 (e || "independent" !== this.component.resolve.scale.y)) ||
12984 (i = "none"),
12985 {
12986 ...this.getHeaderLayoutMixins(),
12987 ...(n ? { columns: n } : {}),
12988 bounds: "full",
12989 align: i,
12990 }
12991 );
12992 }
12993 assembleLayoutSignals() {
12994 return this.child.assembleLayoutSignals();
12995 }

Callers

nothing calls this directly

Calls 2

columnDistinctSignalMethod · 0.95
getHeaderLayoutMixinsMethod · 0.95

Tested by

no test coverage detected