BoxResultAction component

This component is intended to be included inside a BoxBody ResultList component. This component displays a small actionable button inside each result. When clicked, this button displays other sub component in a menu, such as the BoxQuickview component.

Each of these sub-components are responsible for providing the logic that should be executed when they’re selected.

Note

For more information on how to implement your own custom actions inside this component, see Creating custom actions for a Coveo Insight Panel Classic Component or a custom box.

Options

This specifies the delay, in milliseconds, before the menu disappears when the user’s mouse leaves the menu icon.

The default value is 300.

<div class='CoveoBoxResultAction' data-menu-delay='300'></div>

displayInline

This specifies that components contained inside the ResultAction should instead be displayed inline, and not inside a clickable menu.

The default value is false.

<div class='CoveoBoxResultAction' data-display-inline='false'></div>
Important
Important

When displayInline is set to true, icons are displayed to identify the actions. Those icons are removed when displayInline is set to false.

Methods

This component doesn’t provide any methods.

Usage

This component is intended to contain many other components.

For example, this BoxResultAction would display a Quickview link when opened.

<div class='CoveoBoxResultAction'>
    <div class='CoveoBoxQuickview'></div>
</div>

Components that can be included inside this component

Out of the box, the framework comes with the following components: