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

Function convertAlignment

docs/app/js/sanddance-app.js:8974–8984  ·  view source on GitHub ↗
(textAlign)

Source from the content-addressed store, hash-verified

8972 return 0;
8973}
8974function convertAlignment(textAlign) {
8975 switch(textAlign){
8976 case "center":
8977 return "middle";
8978 case "left":
8979 return "start";
8980 case "right":
8981 return "end";
8982 }
8983 return "start";
8984}
8985function convertBaseline(baseline) {
8986 switch(baseline){
8987 case "middle":

Callers 1

markStagerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected