Results 1 to 3 of 3

Thread: variable declaration

  1. #1

    Default Answered: variable declaration

    Hi,
    how to use a variable inside the same controller and in different controller also without using at top of the controller .js file.I mean i should not use any variable above the class(Ext.define) in extjs.

  2. With your other thread, it appears you may need a utility class singleton to hold onto your "variables"

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    With your other thread, it appears you may need a utility class singleton to hold onto your "variables"
    Mitchell Simoens @LikelyMitch

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

    Posts are my own, not any current, past or future employer's.

  4. #3

    Default

    yes u r correct.

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
  •