How to modify the option menu while long pressing or marking some text?


#1

Hi everyone,

could anyone tell me how to change the option menu (copy, cut, paste, more …) while marking or long pressing on screen in ionic?
Or do I need to make my own popover?


#2

Hello,

maybe you should put (press)=‘showmenu()’ at your htmlelement

<myelement (press)='showmenu()'></myelement>

and in ts

showmenu(){
// do whatever, for example show an action menu
}

#3

No thats not what I meant the option menu in the device like on the picture.
.