Results 1 to 2 of 2

Thread: button text and labels from local storage

  1. #1

    Join Date
    Apr 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default button text and labels from local storage

    Hi, I am building a sencha touch 2 app where the label values and button text are provided by the localstorage. these data differ per view and will be loaded into the localstorage by the server. Please advise on the best way how and when to get the label values and button text from localstorage and render them. Thank you.

  2. #2
    Sencha - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,025
    Answers
    3976
    Vote Rating
    1334
      0  

    Default

    In ST2 language you can use a store with a localstorage proxy. If you aren't using ST2 to save the data to localstorage then use getItem on localStorage
    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

Tags for this Thread

Posting Permissions

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