Skip to content
Entangle UI v0.13.0

LogViewHandle

Defined in: src/components/feedback/LogView/LogView.types.ts:104

Imperative handle exposed on the LogView ref.

append / appendMany / clear drive the uncontrolled store and are rAF-batched — high-frequency streaming collapses to one render per frame. They are no-ops (with a dev warning) when entries is controlled.

append: (entry) => void

Defined in: src/components/feedback/LogView/LogView.types.ts:106

Append a single entry (uncontrolled mode). rAF-batched.

LogEntry

void


appendMany: (entries) => void

Defined in: src/components/feedback/LogView/LogView.types.ts:108

Append many entries (uncontrolled mode). rAF-batched.

readonly LogEntry[]

void


clear: () => void

Defined in: src/components/feedback/LogView/LogView.types.ts:110

Clear all entries (uncontrolled mode) and fire onClear.

void


getElement: () => HTMLDivElement | null

Defined in: src/components/feedback/LogView/LogView.types.ts:118

The root DOM element.

HTMLDivElement | null


getEntries: () => readonly ResolvedLogEntry[]

Defined in: src/components/feedback/LogView/LogView.types.ts:116

Snapshot of the currently stored (resolved) entries.

readonly ResolvedLogEntry[]


scrollToBottom: () => void

Defined in: src/components/feedback/LogView/LogView.types.ts:112

Scroll the body to the latest entry and re-attach follow.

void


scrollToIndex: (index) => void

Defined in: src/components/feedback/LogView/LogView.types.ts:114

Scroll a specific entry index into view.

number

void