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

Function Af

resources/vega-lite.min.js:8259–8270  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

8257 };
8258 }
8259 function Af(e, t) {
8260 switch (
8261 arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "middle"
8262 ) {
8263 case "start":
8264 return { align: "left" };
8265 case "end":
8266 return { align: "right" };
8267 }
8268 const n = kf(t, "row" === e ? "left" : "top", "row" === e ? "y" : "x");
8269 return n ? { align: n } : {};
8270 }
8271 function Tf(e, t) {
8272 const n = wf(e, "row" === t ? "left" : "top", "row" === t ? "y" : "x", !0);
8273 return n ? { baseline: n } : {};

Callers 2

NfFunction · 0.85
MfFunction · 0.85

Calls 1

kfFunction · 0.85

Tested by

no test coverage detected