Referencing Url Parameters
You're able to reference URL querystrings via the url property in the global app object:
For example, if you have a URL that has the querystring ?projectID=20
, you're able to reference it in the app using the {{url.projectID}}
templated syntax.
What are {{}} good for?
You are able to reference other components using javascript dictionary terminology and the
{{}}
syntax.In this instance, we would like to reference a projectID query string. All query strings are stored under the global url key, hence, we type in
{{url.projectID}}
Updated 12 months ago