onClick event of intellisense popover item

Hi,
Actually i have a situation were i want to repopulate the intellisense popover with new list on clicking of some item in intellisense popover. So can this be achieved in Codemirror v5?Do we have exposure to onclick event for intellisense popover item? @marijn

Thanks in advance

You can handle picking of completions by giving the completion object a hint property (see docs), but there’s no way to replace the set of options in the completion dialog, so you’ll probably need a custom setup.