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

Function getViewportHeight

src/ink/components/ScrollBox.tsx:178–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 return content?.yogaNode?.getComputedHeight() ?? domRef.current?.scrollHeight ?? 0;
177 },
178 getViewportHeight() {
179 return domRef.current?.scrollViewportHeight ?? 0;
180 },
181 getViewportTop() {
182 return domRef.current?.scrollViewportTop ?? 0;
183 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected