Imagine a div
like this:
<div class="list">
<ul>
<li class="user">Nickname 1</li>
<li class="user">Nickname 2</li>
</ul>
</div>
I would like to do as on all smartphones when I maintain "Nickname 1" for more than 3 seconds a div
opens in full screen with a large vertical menu, and then when the button is released the menu should not close
Should I use onclick
or onpress
?
Do you have an idea ?
This kind of menu is seen everywhere on the smartphone for example "Block" a user or "Delete the conversation" etc.
Thank.