New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ApplicationParametersBead #129
Comments
Here’s a distilled example of how to use these beads:
And assuming “app" is a reference to your main class you can get values like this:
|
@Harbs that bead is quite handy :) What do you think to have such example in the ASDoc on top of the class or maybe as a blog post on Royale website! |
Including use examples in ASDoc is probably a very good idea. Blog post too. FYI, the bead can probably be attached to any strand in the app. It should not need to be the main class. |
How is this different from URLParameterBead?
|
URLParameterBead:
ApplicationParametersBead:
I think URLParameterBead is best for urls which might change after the app is loaded (i.e. routing) |
We added two beads in a52284c
ApplicationParametersBead retrieves url parameters specified when loading the app.
ApplicationParametersCaseInsensitiveBead is similar, but the url parameter keys are case insensitive.
The text was updated successfully, but these errors were encountered: