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

Function removeStreamingCarets

src/patch-streaming-html.ts:903–905  ·  view source on GitHub ↗
(container: HTMLElement)

Source from the content-addressed store, hash-verified

901
902/** Remove every streaming caret under `container` (open-tag stack moves leave orphans). */
903export function removeStreamingCarets(container: HTMLElement): void {
904 container.querySelectorAll(".sh-caret").forEach((node) => node.remove());
905}
906
907export function syncStreamingCaret(
908 container: HTMLElement,

Callers 2

streamhtml.tsxFile · 0.90
syncStreamingCaretFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected