I’m trying to get a dropdown menu with a list of options whenever i long press on a component. Then use one of those options to do some actions calling an API.
I can do the second part easily, yet i’m looking for a hint/help on the first one, the dropdown menu. I dont want to show the arrow neither the name of the selected option as its here .
Is there something like (press)=“callsomefunction()” ?
Adding hammerjs to the project could solve the event request. As to hiding the arrow, you are going to have to crack open the CSS and figure out what to override.
well, ionic have a (press) event and thats enough to me. i’m just trying to get a dropdown menu when i press on that area. like when you press on a msg on whatsapp it shows options (copy/forword/…etc).