Gravatar for

Question by MSubram4, Oct 12, 2018 12:31 PM

Icon with expand/collapse next to facet title in coveo

How do i place an icon next to facet title and add click functionality that expands/collapses on click. Just curios to know is there a Coveo way of doing this ?

1 Reply
Gravatar for

Answer by Jean-François L'Heureux, Oct 15, 2018 9:59 AM

This is not a feature of the facet component. You can create a new TypeScript component that inherits the default facet component. And you would override the function that displays the facet header to add your custom icon there.

Ask a question