tuil
ReferencePackages@mwillbanks/tuil-log-viewerAPI

LogViewerProps

interface exported by @mwillbanks/tuil-log-viewer.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-log-viewer.

export interface LogViewerProps {
  readonly model: LogViewerModel;
  readonly emptyMessage?: string;
  readonly id?: string;
  readonly label?: string;
  readonly query?: string;
  readonly disposeOnUnmount?: boolean;
  readonly autoFocus?: boolean;
  readonly onLiveChange?: (live: boolean) => void | Promise<void>;
  readonly showTimestamp?: boolean;
}

Members

MemberTypeRequiredDescriptionRelated types
modelLogViewerModelYesThe model member uses the LogViewerModel contract.LogViewerModel
emptyMessagestring | undefinedNoThe emptyMessage member uses the string | undefined contract.
idstring | undefinedNoThe id member uses the string | undefined contract.
labelstring | undefinedNoThe label member uses the string | undefined contract.
querystring | undefinedNoThe query member uses the string | undefined contract.
disposeOnUnmountboolean | undefinedNoThe disposeOnUnmount member uses the boolean | undefined contract.
autoFocusboolean | undefinedNoThe autoFocus member uses the boolean | undefined contract.
onLiveChange((live: boolean) => void | Promise<void>) | undefinedNoThe onLiveChange member uses the ((live: boolean) => void | Promise<void>) | undefined contract.
showTimestampboolean | undefinedNoThe showTimestamp member uses the boolean | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-log-viewer

On this page