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

Method setPositionPercent

src/native-ts/yoga-layout/index.ts:793–797  ·  view source on GitHub ↗
(edge: Edge, v: number)

Source from the content-addressed store, hash-verified

791 this.markDirty()
792 }
793 setPositionPercent(edge: Edge, v: number): void {
794 this.style.position[edge] = percentValue(v)
795 this._hasPosition = true
796 this.markDirty()
797 }
798 setPositionAuto(edge: Edge): void {
799 this.style.position[edge] = AUTO_VALUE
800 this._hasPosition = true

Callers

nothing calls this directly

Calls 2

markDirtyMethod · 0.95
percentValueFunction · 0.85

Tested by

no test coverage detected