ol-contextmenu icon indicating copy to clipboard operation
ol-contextmenu copied to clipboard

5.4.0 contextmenu.close() console errors

Open MichaelYagi opened this issue 1 year ago • 1 comments

I'm trying to programatically close the contextmenu via contextmenu.close(), However this results in

Uncaught TypeError: contextmenu.close is not a function

Every other method works. Any idea what's going on?

MichaelYagi avatar Jun 30 '24 15:06 MichaelYagi

@MichaelYagi the method is closeMenu. It's wrong in the README

GastonZalba avatar Aug 07 '24 23:08 GastonZalba