How to change default global config options?
jackiehluo opened this issue · 4 comments
jackiehluo commented
I can override the global options for a specific toast, but is there a way to change the defaults for the whole application?
Thanks!
knownasilya commented
See the configuration section https://github.com/knownasilya/ember-toastr#configuration
The example there is the default configuration that is used if you don't set your own.
jackiehluo commented
Yes! I saw that—I guess I was wondering, what is ENV
supposed to indicate?
knownasilya commented
Ah, see the code example in this section: https://ember-cli.com/user-guide/#pod-structure
Basically it's setup in config/environment.js
which has the ENV
object that can be configured differently for different environment builds of the project.
jackiehluo commented
Ahhhhh, makes more sense. Thanks so much!