언어 설정

Menu
Sites
Language
How to get the context menu when we double click on the device ?

Hi,

How can we get the context-menu when we double click on the device in web applications.

Thanks in Advance.

 

Responses

6 댓글
Marco Buettner

$(document).on("dblclick", function() {
$("#myContextMenu").popupwindow('open');
});

Lakshmi Prathyusha

Hi Marco Buettner,

I'm getting error as  " TypeError: $(...).popupwindow is not a function "

 

Marco Buettner

than try $("#myContextMenu").popup('open');

konduri sai swathi

Hi Lakshmi,

The platform supports context-menu only for tap and hold event. For double click you need to write your own functionality to get context-menu.

Lakshmi Prathyusha

Hi Swathi,

Can you provide me any example on context-menu for tap and hold event.

Thanks in Advance.

 

konduri sai swathi

If you use tizen framework for your app, then you can see context-menu poping up when you tap and hold on any text or image. There is even option available to enable or disable context-menu under "tizen" tab of config.xml.