atomic-smart-snippet-suggestions (Deprecated)
atomic-smart-snippet-suggestions (Deprecated)
The atomic-smart-snippet-suggestions-suggestions
component displays an accordion of questions related to the query with their corresponding answers.
You can style the snippets by inserting a template element like this:
<atomic-smart-snippet-suggestions>
<template>
<style>
b {
color: blue;
}
</style>
</template>
</atomic-smart-snippet-suggestions>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The heading level to use for the "People also ask" heading over the snippets, from 1 to 5. |
|
|
|
|
Sets the style of the snippets. Example:
|
|
Shadow Parts
Part | Description |
---|---|
|
The container displaying the full document excerpt of a related question’s answer. |
|
The wrapper around the answer and source of a related question. |
|
The wrapper with a border around the entire component. |
|
The wrapper around the source of a related question’s answer. |
|
The heading above the list of related questions. |
|
A collapsed related question. |
|
An expanded related question. |
|
The button to expand a related question. |
|
The button to collapse a related question. |
|
The caret of a collapsed related question. |
|
The caret of an expanded related question. |
|
The title of a collapsed related question. |
|
The title of an expanded related question. |
|
The list of related questions. |
|
The title of the document a related question’s answer is extracted from. |
|
The URL to the document a related question’s answer is extracted from. |