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