We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It should be possible to pass static properties from the app to modules, that cannot be configured through the query string such as the params.
This should be done with an optional parameter on the constructor:
let app = new App(moduleConfig, { props: { foo: "bar" }}); console.log(app.props); // { foo: "bar" }}
The text was updated successfully, but these errors were encountered:
GH-6: Added optional props to App.
0e4776d
Merge pull request #7 from jirenius/feature/gh-6-static-app-props
5c7a87b
jirenius
No branches or pull requests
Issue
It should be possible to pass static properties from the app to modules, that cannot be configured through the query string such as the params.
This should be done with an optional parameter on the constructor:
The text was updated successfully, but these errors were encountered: