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

Method setPadding

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

Source from the content-addressed store, hash-verified

836 this.markDirty()
837 }
838 setPadding(edge: Edge, v: number | string | undefined): void {
839 this.style.padding[edge] = parseDimension(v)
840 this._hasPadding = hasAnyDefinedEdge(this.style.padding)
841 this.markDirty()
842 }
843 setPaddingPercent(edge: Edge, v: number): void {
844 this.style.padding[edge] = percentValue(v)
845 this._hasPadding = true

Callers

nothing calls this directly

Calls 3

markDirtyMethod · 0.95
parseDimensionFunction · 0.85
hasAnyDefinedEdgeFunction · 0.85

Tested by

no test coverage detected