MCPcopy Create free account
hub / github.com/Rello/analytics / addRow

Function addRow

js/filter.js:257–262  ·  view source on GitHub ↗
(dimension = '', option = '', value = '')

Source from the content-addressed store, hash-verified

255 };
256
257 const addRow = function (dimension = '', option = '', value = '') {
258 const rowTemplate = document.getElementById('templateFilterDialogRow').content;
259 const newRow = document.importNode(rowTemplate, true).firstElementChild;
260 table.appendChild(newRow);
261 initRow(newRow, dimension, option, value);
262 };
263
264 // initialize first row
265 const firstRow = table.querySelector('.filterRow');

Callers 1

filter.jsFile · 0.70

Calls 1

initRowFunction · 0.85

Tested by

no test coverage detected