facebook

Call a function after a "long clic" : CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #341198 Reply

    Yann
    Member

    Hello,
    a question:
    is it possible to call a function after a long click (5 seconds) on a button to prevent an accidental click
    If button is”clicked” during 5 seconds -> call a number
    if button is released before 5 seconds -> cancel function

    thanks
    Yann

    #341199 Reply

    Stu Wade
    Member

    Yes

    Attachments:
    You must be logged in to view attached files.
    #341201 Reply

    Yann
    Member

    Great !
    thanks a lot Stu Wade
    Yann

    #341203 Reply

    Stu Wade
    Member

    You are most welcome.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Call a function after a "long clic" : CLOSED

You must be logged in to post in the forum log in