Question

I'd like to customize my Display Template so that the Hover Panel appears only when a user clicks on an item in the search result. The default behavior is the hover panel appears when a user mouse's over the item in the search result. Thanks!

Était-ce utile?

La solution

Hi Martin,

I have achieve your requirement , please change Event onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" to onclick="_#= ctx.currentItem_ShowHoverPanelCallback =#_" in your Search Display Template.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top