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

Method setAlignSelf

src/ink/layout/yoga.ts:220–229  ·  view source on GitHub ↗
(align: LayoutAlign)

Source from the content-addressed store, hash-verified

218 }
219
220 setAlignSelf(align: LayoutAlign): void {
221 const map: Record<LayoutAlign, Align> = {
222 auto: Align.Auto,
223 stretch: Align.Stretch,
224 'flex-start': Align.FlexStart,
225 center: Align.Center,
226 'flex-end': Align.FlexEnd,
227 }
228 this.yoga.setAlignSelf(map[align]!)
229 }
230
231 setJustifyContent(justify: LayoutJustify): void {
232 const map: Record<LayoutJustify, Justify> = {

Callers 1

applyFlexStylesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected