In my Meteor app I have some complex page animations that require a few seconds to complete (instructive animations take priority over page transition speed).   There's an out state and an in state in the animation. For simplicity's sake, let...
One of the challenges of using a framework that is newish and under development is that the advice you find on the web is often outdated. This applies doubly to Meteor where the SO answers and web articles are often for a pre 1.0.x or an early 1.0.x...
Iam setting up a basic structure of my future meteor app, Iam using meteor and angular. Wanted to combine iron router with ui router but it got pretty bad. So now Iam back on vanilla meteor for routing issue and the task is have standard multipage si...
When I click on user's name, I want the link to go to their profile page. I am using Meteor with iron router. Here are the defined routes:  Router.route('/', { name: 'JobsList'}); //homepage with all users  //this is where the use...
Is there a way to change the path before the page is routed based on some logic, such as a Session variable? For example:  // Before routing Router.onBeforeAction(function () {     if(Session.get('key') === true) {         prependToPath('...
I found that I can just call a findOne in a global function and I'll have access to the subscription...  The only thing I'm confused about is, how global a function distinguishes between collections, one subscription to the other.  // pubs  M...
I use the template data context inside a template's created function.  Template.temp.created = function() { console.log('this.data'); };   When I go to the page normally--i.e. click the link to the page--I see the console log the correct...
How do I pass data between two different routes and templates?   I have a javascript file on the front end (client folder) that simply calls Router.go() passing in the post ID as one of my parameters.  Below are the three main culprits (I believe). I...
I'm struggling to create a user profile page, using Iron Router, which is located at localhost:3000/:username. The profile page should have the following characteristics:   Public view - anyone can see basic information about the user Private vie...
Is there anyway to wait for template to be rendered and then execute certain function?  I have tried after and it doesn't work.  Router.map(function () {   this.route('post', {     path: '/posts/:ll',      action: function () {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.