meteor-blaze Questions
2
While downloading [email protected]...:
error: certificate has expired
While downloading [email protected]...:
error: certificate has expired
While downloading alanning:[email ...
Robinet asked 16/2, 2022 at 19:4
2
Solved
I tried to insert <div> containers around the {{#each}} but it didn't work as well. Its also odd because it works for 2 normal posts list pages, but not for the 3rd one which sorts them by di...
Wilkey asked 26/1, 2016 at 15:42
2
Solved
How can I render this Meteor Blaze Template ? I would like to use the negative of the IF, but I don't find anywhere how to use it.
<ul>
{{#each pages}}
{{#if (--NOT--) isCover }}
<li>...
Paranoia asked 28/11, 2014 at 5:32
4
Solved
If I have a parent template Container with a child template Content avec only a button :
<head>
<title>test</title>
</head>
<body>
{{> Container}}
</body>...
Interdisciplinary asked 1/12, 2014 at 13:25
1
My project is getting too big for the meteor build system (>1min load time) and I therefore want to switch to webpack.
All the tutorials and boilerplates that I could find use a combination of Met...
Edrick asked 27/1, 2016 at 12:35
2
How can I access the X item of an array inside a meteor template?
Thanks to Return array item by index in a meteor spacebars template I know how to do that for a specific index:
<p>{{array....
Loner asked 23/1, 2017 at 20:29
3
Solved
How to create a function for all the templates in meteor?
index.js
// Some function
function somefunction(){
return true;
}
Test1.js
Template.Test1.events({
'click button' : function (event,...
Paletot asked 31/3, 2015 at 9:0
1
Solved
I have the following application structure:
client/
---- main.js
imports/
---- startup/
-------- client/
------------ routes.js
---- ui/
-------- login/
------------ login.html
------------ login....
Weinberger asked 16/8, 2016 at 8:20
2
Solved
I'm creating a package and, for the client side, I need to add some static files like fonts and images. After trying some outdated solution I found nothing seemed to work for me. How should I add t...
Picrate asked 10/6, 2014 at 14:23
1
Solved
I am writing a custom Blaze block helper with children:
<template name="parent">
{{> Template.contentBlock ..}}
</template>
<template name="child">
{{> Template.contentB...
Thanatos asked 7/3, 2018 at 12:35
5
Solved
Is there a clean way to get the parent template of the current template? Nothing is officially documented in Meteor's API.
I'm talking about the Blaze.TemplateInstance, not the context (i.e. not Te...
Cartload asked 14/1, 2015 at 17:56
3
Solved
Looking at this Using Blaze guide, it seems Blaze supports {{#if}} and {{else}} statements, but I have't seen examples of an if-else statement. Is this supported in Blaze? Or do I have to do an add...
Barrett asked 16/12, 2014 at 10:39
1
I'm creating a form where the location is being passed to an input element by default. (Basically, click on the map and the coords are default on the form)
While I need to work with the coords, and...
Passageway asked 20/12, 2017 at 15:20
3
Solved
Is there a way to do logic operation in {{#if}} statement?
I was hoping for something like:
{{#if A && B}}
some html
{{/if}}
I couldn’t find documentation about logic in blaze, so I gue...
Priscella asked 8/4, 2016 at 12:28
2
Solved
I recently started learning Meteor, so i learned how to work with Mongo via Meteor but there is something i don't understand, in the web I often see examples like: SomeCollection.find().fetch() , I...
Arrester asked 22/6, 2017 at 15:17
1
After implementing Detecting idle time in JavaScript elegantly I get "WebSocket is already in CLOSING or CLOSED state" error in the browser console. How to fix this issue? Here is my code:
var in...
Absquatulate asked 26/10, 2016 at 10:36
2
Solved
I'm using autoform on my meteor project and am using an afArrayField for my dimensions field in my NewStack form.
It currently looks like this.
And here's how it's being rendered:
NewStack.htm...
Indonesia asked 9/9, 2016 at 3:4
3
Solved
I've had in my Meteor project handlebar helper:
Handlebars.registerHelper('isEq', function(v1, v2, options){
if(v1 === v2){
return options.fn(this);
}else{
return options.inverse(this);
}
});...
Koslo asked 26/4, 2014 at 9:21
2
Solved
Meteor collection not being created automatically on start and autoform doesn't post to mongo db
I am new to meteor and mongo db. I am making an application using [email protected]. I am making a file named '/imports/api/collections/recipe.js'. Here I am creating a collection and importin...
Ureide asked 28/6, 2016 at 18:43
8
Solved
How can I reference a template helper from another one? For example...
Template.XXX.helpers({
reusableHelper: function() {
return this.field1 * 25 / 100; //or some other result
},
anotherHelpe...
Clinkerbuilt asked 29/1, 2015 at 10:6
2
Solved
I have this block of code in a Spacebars template:
1.
<select class="form-group">
{{#each choices}}
<option>{{this}}</option>
{{/each}}
</select>
I would like to repe...
Redstart asked 27/3, 2015 at 18:16
2
I am dealing with large json files on the client side. I want to be able to query the json in the same way I query mongo collections on the server side. I recently heard about minimongo which is ex...
Galla asked 10/3, 2015 at 4:42
6
Solved
So let's say I'm storing <div>{{name}}</div> and <div>{{age}}</div> in my database.
Then I want to take the first HTML string and render it in a template - {{> template1}...
Paratroops asked 1/5, 2014 at 19:36
5
Solved
I have a template in which the DOM is changed, and I would like to rerender the template when saving to database. Before Blaze, Meteor would have rerendered the whole template if there was a reacti...
Zoochemistry asked 29/4, 2014 at 5:3
2
Solved
I am forced to assign rendered callbacks to all my templates.
Until 0.9.0 I used to do it like this:
_.each( Template, function( template, name ) {
//...
template.rendered = function() {
//......
Skyler asked 9/10, 2014 at 14:35
1 Next >
© 2022 - 2024 — McMap. All rights reserved.