Filter on custom plugin

Hi,

I wrote an angularJS plugin with a clickable image.

How can I apply a filter on image click?

Which module I have to import to do this feature?

Thank's in advance

Hi @bard0x,

To apply a filter in recent versions:

  1. You could use filterManager from data plugin. api ref
  2. Or could use uiActions plugin and APPLY_FILTER_TRIGGER