Variable Scope
Posted: Fri Aug 18, 2017 3:14 pm
by Terry Gilliver
What is the scope of ionic variables? Are they available throughout the application or only on the page defined? Where are they stored? They don't appear to be in session or local storage. We don't seem to be able to define storage as in jqm.
Variable Scope
Posted: Fri Aug 18, 2017 5:36 pm
by Serhii Kulibaba
Hello Terry,
Variables, which are defined on the index page are global, but variables, which are defined on other pages - available only on these pages.
Here is more information about scope variables: https://blog.appery.io/2015/11/unders...
Variable Scope
Posted: Tue Aug 22, 2017 9:13 am
by Terry Gilliver