In the Data article, you have learned the
Data property. If you haven’t studied yet, please learn Data first.
The most important difference between
Static Data is that the view will not be refreshed when the static data is updated [Please enter
app.staticData.i = "new value" in the console to see if the example below will Update it!]:
Similarly, static data also supports function types: