atomic-result-children

This is for:

Developer
In this article

The atomic-result-children component is responsible for displaying child results by applying one or more child result templates. Includes two slots, "before-children" and "after-children", which allow for rendering content before and after the list of children, only when children exist.

Properties

Property Attribute Description Type Default

imageSize

image-size

The expected size of the image displayed in the children results.

"icon" | "large" | "none" | "small" | undefined

inheritTemplates

inherit-templates

Whether to inherit templates defined in a parent atomic-result-children. Only works for the second level of child nesting.

boolean

false

noResultText

no-result-text

The non-localized copy for an empty result state. An empty string will result in the component being hidden.

string

'no-documents-related'

Slots

Slots let you write custom HTML at a specific place inside a web component.

Slot Description

after-children

Slot that allows rendering content after the list of children, only when children exist.

before-children

Slot that allows rendering content before the list of children, only when children exist.

Shadow Parts

Part Description

no-result-root

The wrapper for the message when there are no results.

show-hide-button

The button that allows to collapse or show all child results.