MCPcopy Create free account
hub / github.com/codeaashu/claude-code / setJustifyContent

Method setJustifyContent

src/ink/layout/yoga.ts:231–241  ·  view source on GitHub ↗
(justify: LayoutJustify)

Source from the content-addressed store, hash-verified

229 }
230
231 setJustifyContent(justify: LayoutJustify): void {
232 const map: Record<LayoutJustify, Justify> = {
233 'flex-start': Justify.FlexStart,
234 center: Justify.Center,
235 'flex-end': Justify.FlexEnd,
236 'space-between': Justify.SpaceBetween,
237 'space-around': Justify.SpaceAround,
238 'space-evenly': Justify.SpaceEvenly,
239 }
240 this.yoga.setJustifyContent(map[justify]!)
241 }
242
243 setDisplay(display: LayoutDisplay): void {
244 this.yoga.setDisplay(display === 'flex' ? Display.Flex : Display.None)

Callers 1

applyFlexStylesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected