Interface CaseAssistQuickviewState

A scoped and simplified part of the headless state that is relevant to the CaseAssistQuickview controller.

interface CaseAssistQuickviewState {
    content: string;
    contentURL?: string;
    currentDocument: number;
    currentResultUniqueId: string;
    isLoading: boolean;
    resultHasPreview: boolean;
    totalDocuments: number;
}

Hierarchy (View Summary)

Properties

content: string

The result preview HTML content.

""
contentURL?: string

The src path to use if rendering the quickview in an iframe.

currentDocument: number

The position of the document in the current document set.

Can be used for quickview pagination purpose.

currentResultUniqueId: string

The current result unique ID,

isLoading: boolean

true if content is being fetched, and false otherwise.

resultHasPreview: boolean

true if the configured result has a preview, and false otherwise.

totalDocuments: number

The number of available document for the current document set.

Can be used for quickview pagination purpose.