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

Method setWidth

src/native-ts/yoga-layout/index.ts:651–654  ·  view source on GitHub ↗
(v: number | 'auto' | string | undefined)

Source from the content-addressed store, hash-verified

649 // -- Style setters: dimensions
650
651 setWidth(v: number | 'auto' | string | undefined): void {
652 this.style.width = parseDimension(v)
653 this.markDirty()
654 }
655 setWidthPercent(v: number): void {
656 this.style.width = percentValue(v)
657 this.markDirty()

Callers

nothing calls this directly

Calls 2

markDirtyMethod · 0.95
parseDimensionFunction · 0.85

Tested by

no test coverage detected