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

Method setMaxWidth

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

Source from the content-addressed store, hash-verified

689 this.markDirty()
690 }
691 setMaxWidth(v: number | string | undefined): void {
692 this.style.maxWidth = parseDimension(v)
693 this.markDirty()
694 }
695 setMaxWidthPercent(v: number): void {
696 this.style.maxWidth = percentValue(v)
697 this.markDirty()

Callers

nothing calls this directly

Calls 2

markDirtyMethod · 0.95
parseDimensionFunction · 0.85

Tested by

no test coverage detected