iron-meteor / iron-router

A client and server side router designed specifically for Meteor.
MIT License
1.98k stars 413 forks source link

How to access initial configuration values? #1499

Open s7dhansh opened 8 years ago

s7dhansh commented 8 years ago

Let's say I configure Router with a loading template using

Router.configure({
    loadingTemplate: "tLoader",
}

How can I access "tLoader" again in the code?

s7dhansh commented 8 years ago

We have Router.lookupNotFoundTemplate() and Router.lookupLayoutTemplate() but not lookupLoadingTemplate :(