MCPcopy Create free account
hub / github.com/Alphanimble/htmlstream / unlockStreamHeight

Function unlockStreamHeight

src/hold-stream.ts:52–54  ·  view source on GitHub ↗
(el: HTMLElement)

Source from the content-addressed store, hash-verified

50
51/** Clear height lock when streaming finishes */
52export function unlockStreamHeight(el: HTMLElement): void {
53 el.style.minHeight = "";
54}
55
56/** Damping factor for stream scroll follow (0–1). Lower = smoother lag. */
57export const DEFAULT_STREAM_SCROLL_EASE = 0.18;

Callers 2

streamhtml.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected