Questions tagged [handlebars.js]
Handlebars is a templating library for JavaScript.
7,703
questions
0
votes
0
answers
16
views
How to add histograms to Handlebars table in Superset?
I make table for Handlebars in Superset 4.0.0.
I add formatting with CSS in Live CSS editor.
But I still need add histograms to Revenue fact column.
How to add histograms?
Do I need to check settings ...
-1
votes
0
answers
43
views
Express static css files is not load in handlebars
App.js -> main js express file so I make like this
const express = require('express');
const app= express();
app.use(express.static('public'))
Main Layou -> main Layout handlebar file , i add a ...
0
votes
1
answer
37
views
How to escape {{}} in javascript handlebars?
I have the following 'my.txt' file,
Input file
name={{applicationName}}
env=app/{{env}}/{{applicationName}}
I wish to update my text file using javascript handlebars, in such a way that my text file ...
0
votes
0
answers
30
views
Uncaught TypeError express-handlebars
I'm trying to connect to express-handlebars.
This is my index.ts:
import * as express from 'express';
import { engine } from 'express-handlebars';
const app = express();
app.engine('handlebars', ...
0
votes
0
answers
8
views
Gulp only randomly output file?
I've got this function on Gulp that precompiles templates and partials and then outputs a file. Well, only sometimes, that is.
I can't seem to wrap my head around the 'inner workings' of Gulp.
...
0
votes
2
answers
26
views
Cannot loop an array in a handlebarsjs template
For some reason I cannot loop through the items array to display in my order confirmation email template the items, quantity and price of the customer order.
Any ideas what I'm I doing wrong? I've ...
0
votes
0
answers
23
views
Exposing Handlebars via Webpack
I want to expose jQuery and Handlebars to be accessible from the outside (i.e. browser console via window.Handlebars).
So I added expose-loader and the following module rules into the Webpack config:
…...
0
votes
0
answers
42
views
Superset HandleBar support for array type Column iteration
I have a requirements to create dynamic table on the basis of array type columns in my data. Both array type column have the same number of attributes.
Image shows actual running code
Image shows ...
0
votes
0
answers
30
views
Dynamic unsubscribe link with handlebars
I have a need to dynamically show/hide the unsubscribe link in my email template. This is being requested because not every request will always include the "asm" object with the unsubscribe ...
0
votes
1
answer
47
views
How to add a nav link in the section "My account"
I was trying to add a new link to navbar in my account, I added a new item to navbar beside
Account Settings.
But I am unable to set a link to it using like {{urls.account.cards}}. How i implemented ...
0
votes
1
answer
61
views
Mockoon: How to use helper functions in someOf array
Im trying to use helper functions in a someOf array but i cant get it to work, it always prints out the helper function as a string instead of executing it. How can i make it execute the functions?
I ...
0
votes
0
answers
33
views
Handlebar expression to return object from JSON string/array
I have a SharePoint multiple lines of text column that is being populated with a JSON string from a SQL table.
I don't have access to the SQL table, so am trying to manually manipulate the data within ...
0
votes
1
answer
38
views
Rendering api data to handlebars
I am attempting to pass the results from a Promise.all multi-get request to my handlebars view. The request is functional as it returns results to the terminal, but I cannot figure out how to get the ...
0
votes
0
answers
74
views
How to find sum of items in a decimal list using superset's handle bars chart
I have Apache Superset handlebar chart in which I wish to show sum of data in list instead of each items in list
HandleBar templete
<div class="data-list">
{{#each data}}
<h4&...
0
votes
1
answer
61
views
Why is tabindex=0 still used in HTML even when a feature flag is false in Ember.js?
I'm working on an Ember.js project where I've implemented a feature flagging system to control certain UI elements based on specific conditions. However, I've encountered a situation where even when ...