Application Design _ How to trigger Auto Save Textarea Contents RRS feed

  • Question

  • I wish to implement autosave functionality for textarea to IndexedDB for my winjs application.

    How to trigger the same .

    Either through 1. Eventlistener - It will be heavy if i save/update for each userinput.

                            2. Timer - In Desktop apps this is the way i followed in my apps. Starting timer in eventlistener when user inputs.

                              For Winjs what is the suggested way of doing  the same.



    Tuesday, April 2, 2013 5:37 AM


  • You can certainly use a periodic timer to trigger a function every now and then and save the user input. As far as the WinJS namespace goes, there is no readymade functionality available.

    @prashantphadke || Windows Store Developer Solutions #WSDevSol || Want more solutions? See our blog! http://aka.ms/t4vuvz

    Tuesday, April 2, 2013 11:39 PM