atomic-result-link
atomic-result-link
This is for:
DeveloperSee Display results to learn more about customizing your result templates.
The atomic-result-link
component automatically transforms a search result title into a clickable link that points to the original item.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
Specifies a template literal from which to generate the The template literal can reference any number of result properties from the parent result. It can also reference the window object. For example, the following markup generates an
|
|
Slots
Slots let you write custom HTML at a specific place inside a web component.
Slot | Description |
---|---|
|
Lets you pass attributes down to the link element, overriding other attributes, to be used exclusively with an "a" tag such as |
|
Lets you display alternative content inside the link |