Results 1 to 2 of 2

Thread: User interaction and unnecessary tasks

  1. #1
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
      0  

    Default User interaction and unnecessary tasks

    User interaction and responsiveness of the UI is the most important task. Is there anyway to tell ST to not doing anything, except really necessary things, if the user starts touching something (a list, or a simple button) and continue on touchend? I think of things like fetching data, geopositioning tasks, map updates, or DelayedTasks aso.

    ST should pause are all unnecessary things between user interaction. Is there any way to configure such behavior?

    greetings Sunny

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    JavaScript is a synchronous language and there is no important task that can take priority over another. Now there are things that area async like an Ajax loading or Geolocation but this is because it's not 100% JavaScript (Ajax is an Xhr request, Geolocation is a device API).
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •