QuanticResultQuickview

The QuanticResultQuickview component renders a button which the end user can click to open a modal box containing certain information about a result.

Example

<c-quantic-result-quickview engine-id={engineId} result={result} maximum-preview-size="100" use-case="search"></c-quantic-result-quickview>

Properties

Property Attribute Description Type Default

engineId (required)

engine-id

The ID of the engine instance the component registers to.

string

result (required)

result

The result to retrieve a quickview for.

Result

maximumPreviewSize

maximum-preview-size

The maximum preview size to retrieve, in bytes. By default, the full preview is retrieved.

number

undefined

previewButtonIcon

preview-button-icon

The icon to be shown in the preview button.

string

'utility:preview'

previewButtonLabel

preview-button-label

The label to be shown in the preview button.

string

undefined

previewButtonVariant

preview-button-variant

The variant of the preview button.

undefined, 'brand', 'outline-brand'

undefined

useCase

use-case

Indicates the use case where this quickview component is used.

'search', 'case-assist'

'search'

Custom Events

The component fires the following custom event:

  • haspreview

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

52.0

isExposed

false