1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Answers
    5
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default Unanswered: Ext.defer - It's possible to cancel?

    Unanswered: Ext.defer - It's possible to cancel?


    Hello everyone.

    My app has one part that calls Ext.defer sometimes.
    Everything is working, but I need to know if it's possible to cancel a previous defer call?

    On my app there is a specific action that need's to cancel the previous defer called.

    Is that possible?

    Thanks

  2. #2
    Sencha User bluehipy's Avatar
    Join Date
    Mar 2010
    Location
    Romania
    Posts
    606
    Answers
    66
    Vote Rating
    26
    bluehipy will become famous soon enough bluehipy will become famous soon enough

      1  

    Default


    Returns

    • NumberThe timeout id that can be used with clearTimeout


      so

      var timeoutId = Ext.defer(....);

      clearTimeout( timeoutId );





Thread Participants: 1