Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keep instant search results hover open to edit with Chrome tools

Tags:

algolia

We are trying to customize the Algoila instant results hover menu to fit our custom Magento theme. Does anyone know of a way to keep the instant result menu open so we can inspect elements using Chrome tools?

like image 859
Nick Murdock Avatar asked Jan 13 '16 19:01

Nick Murdock


1 Answers

You can put the following debug flag to true:

  var options = {
      hint: false,
      templates: {
          dropdownMenu: '#menu-template'
      },
      dropdownMenuContainer: "#algolia-autocomplete-container",
      debug: true // to inspect the dropdown menu
  };

The associated documentation is here.

like image 89
redox Avatar answered Dec 10 '22 09:12

redox