EuiContextMenuItem

Working on a Kibana plugin using the Eui Frameowkr as found inhttps://elastic.github.io/eui/#/.
I'm using EuiContextMenu. How do i show menu item selecxtion without changing icon? (PS: I already have icons defined for each entry. )

I want to use this menu system for single selection and also for multiple selections.

I especially like using ity due to its tooltip option.

Peter Gervais

Hi @pgervais,

It's great you are using the EUI components to build your plugin! The context menu isn't meant to have "selected" items, so you have to resort to using the icon for this.

But maybe you could use a Selectable instead? You can also put them in a popover (an example is shown below) and it has a few other nice features on top.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.