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

Method setPositionType

src/ink/layout/yoga.ts:253–257  ·  view source on GitHub ↗
(type: LayoutPositionType)

Source from the content-addressed store, hash-verified

251 }
252
253 setPositionType(type: LayoutPositionType): void {
254 this.yoga.setPositionType(
255 type === 'absolute' ? PositionType.Absolute : PositionType.Relative,
256 )
257 }
258
259 setPosition(edge: LayoutEdge, value: number): void {
260 this.yoga.setPosition(EDGE_MAP[edge]!, value)

Callers 1

applyPositionStylesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected