Pergunta

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!

Foi útil?

Solução

Hi Martin,

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top