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

Method setMarginAuto

src/native-ts/yoga-layout/index.ts:832–837  ·  view source on GitHub ↗
(edge: Edge)

Source from the content-addressed store, hash-verified

830 this.markDirty()
831 }
832 setMarginAuto(edge: Edge): void {
833 this.style.margin[edge] = AUTO_VALUE
834 this._hasAutoMargin = true
835 this._hasMargin = true
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)

Callers

nothing calls this directly

Calls 1

markDirtyMethod · 0.95

Tested by

no test coverage detected