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.
Properties
Section titled “Properties”append
Section titled “append”append: (
entry) =>void
Defined in: src/components/feedback/LogView/LogView.types.ts:106
Append a single entry (uncontrolled mode). rAF-batched.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
appendMany
Section titled “appendMany”appendMany: (
entries) =>void
Defined in: src/components/feedback/LogView/LogView.types.ts:108
Append many entries (uncontrolled mode). rAF-batched.
Parameters
Section titled “Parameters”entries
Section titled “entries”readonly LogEntry[]
Returns
Section titled “Returns”void
clear: () =>
void
Defined in: src/components/feedback/LogView/LogView.types.ts:110
Clear all entries (uncontrolled mode) and fire onClear.
Returns
Section titled “Returns”void
getElement
Section titled “getElement”getElement: () =>
HTMLDivElement|null
Defined in: src/components/feedback/LogView/LogView.types.ts:118
The root DOM element.
Returns
Section titled “Returns”HTMLDivElement | null
getEntries
Section titled “getEntries”getEntries: () => readonly
ResolvedLogEntry[]
Defined in: src/components/feedback/LogView/LogView.types.ts:116
Snapshot of the currently stored (resolved) entries.
Returns
Section titled “Returns”readonly ResolvedLogEntry[]
scrollToBottom
Section titled “scrollToBottom”scrollToBottom: () =>
void
Defined in: src/components/feedback/LogView/LogView.types.ts:112
Scroll the body to the latest entry and re-attach follow.
Returns
Section titled “Returns”void
scrollToIndex
Section titled “scrollToIndex”scrollToIndex: (
index) =>void
Defined in: src/components/feedback/LogView/LogView.types.ts:114
Scroll a specific entry index into view.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void