샘플
Calculate flexbox layout with yoga-layout: calculateLayout mutates in-place returning undefined rather than a layout object, defaults to column flex-direction, and requires getComputedLayout to inspect geometry
sha256:9647b59c7e38b051d7510c3ce77c06d32c6e10bcf281d65b297114437587eb70
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Calculate flexbox layout with yoga-layout: calculateLayout mutates in-place returning undefined rather than a layout object, defaults to column flex-direction, and requires getComputedLayout to inspect geometry HOW
- 패키지
- yoga-layout 3.2.1
- 환경
- node
- 생성일
- 2026-08-16T07:08:28Z
컨트랙트
- calculateLayout() returns undefined (mutates in-place, does not return layout object)
- getComputedLayout() returns { left, right, top, bottom, width, height } object
- getComputedWidth() and getComputedHeight() return resolved pixel numbers
- getWidth() returns Value object with { value, unit } rather than raw number
- default FlexDirection is Column (0) stacking children vertically unless Row is explicitly set
- insertChild(child, index) places child at specified index
- freeRecursive() frees WebAssembly memory for root and all descendants
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9