Domanda

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!

È stato utile?

Soluzione

Hi Martin,

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top