I'm iterating over an array of items in Meteor using Blaze using the #each iterator, and I want to insert an HTML element after each nth (10th) item. I figured I could use @index to access what index of the array I'm at, but don't really...
2 Technologies:   Meteor with the blaze templating engine Famo.us with their awesome gui framework   I come from the meteor side, I personally like using {{mustache}} (handlebars) to drive the gui from data, the reactive session / database makes this...
In Meteor, I'm sending two objects from my db to a template:  Template.myTemplate.helpers({   helper1: function() {     var object1 = this;  // data context set in iron:router...path is context dependent     // modify some values in object1     r...
Is there a way to check the value of a string in meteor helper?  Lets say i have this helper  Template.example.helpers({  typeOfVideo:function(videoType){          var videoLink = GS.Gems.Collections.Gems.findOne({_id:this._id}).videoLink;          i...
Say I have a helper that looks like this:  Template.profile.helpers({   info: {     Name: 'Bob Dinkleberg',     Age: 45,     Location: 'Earth, Milky Way'   } });   I want to put this info in a <ul>. Here is some pseudo-code:  &l...
So I'm still relatively new to Meteor, and this will be my first Meteor project using an external API, and I'm running into a few issues. I've made web apps using the maps api before, and have had no problem displaying directions, but for...
I have really weird problem and totally no clue how to solve it.  I am trying to build very simple fullpage.js and meteor.js implementation. The code below works, but after a few minutes, it breaks. When I open a new incognito window it works for a f...
I'm trying to access the nested ingredients object within the main entry. The output from the {{recipe.ingredients}} tag is [object Object],[object Object]. What do I need to put in order for the {{recipe.ingredients}} to output the name and amou...
I'm still struggling to get a calendar to re-render when data changes using meteor blaze. I have put in place an observerChanges function that is firing happily when added, removed or changed are triggered, but I have NO idea how to actually make...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.