locked
How to bind tape and hold event for list view

    Question

  • Hi All,

    I am developing javascript windows store app. I want to bind tape and hold event on list view. I have tried with adding MSGestureHold event but it did not work. Can anyone tell me plz how to bind tape and hold event on list view?

    Also is there any event like 'swipeDown' for listview?

    Concern: can item invoke event and tape and hold event will work on same listview?

    Thanks

    Narendra

    Thursday, August 22, 2013 10:13 AM

Answers

  • Hi NarenExt,

    You could ref to the document which shows all the event for Listview in winJS.

    I think oniteminvoked is the one you are looking for, this event will occurs when the user taps or clicks an item, but I did not find anything like "Hold" or "swipeDown" event for the listview.

    Best Regards,

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Friday, August 23, 2013 5:46 AM
    Moderator

All replies

  • Hi NarenExt,

    You could ref to the document which shows all the event for Listview in winJS.

    I think oniteminvoked is the one you are looking for, this event will occurs when the user taps or clicks an item, but I did not find anything like "Hold" or "swipeDown" event for the listview.

    Best Regards,

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Friday, August 23, 2013 5:46 AM
    Moderator
  • Hi Experts,

    I am also looking for the same, to implement the Tap and Hold for list view, I tried to use "MSGestureHold", but it is not working for list view items.

    Thanks,

    Surendra

    Wednesday, October 30, 2013 8:24 AM