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

Method setPosition

src/native-ts/yoga-layout/index.ts:788–792  ·  view source on GitHub ↗
(edge: Edge, v: number | string | undefined)

Source from the content-addressed store, hash-verified

786 this.markDirty()
787 }
788 setPosition(edge: Edge, v: number | string | undefined): void {
789 this.style.position[edge] = parseDimension(v)
790 this._hasPosition = hasAnyDefinedEdge(this.style.position)
791 this.markDirty()
792 }
793 setPositionPercent(edge: Edge, v: number): void {
794 this.style.position[edge] = percentValue(v)
795 this._hasPosition = true

Callers

nothing calls this directly

Calls 3

markDirtyMethod · 0.95
parseDimensionFunction · 0.85
hasAnyDefinedEdgeFunction · 0.85

Tested by

no test coverage detected