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

Function addRow

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

Source from the content-addressed store, hash-verified

266 };
267
268 const addRow = function (dimension = '', option = '', value = '') {
269 const rowTemplate = document.getElementById('templateFilterDialogRow').content;
270 const newRow = document.importNode(rowTemplate, true).firstElementChild;
271 table.appendChild(newRow);
272 initRow(newRow, dimension, option, value);
273 };
274
275 // initialize first row
276 const firstRow = table.querySelector('.filterRow');

Callers 1

filter.jsFile · 0.70

Calls 1

initRowFunction · 0.85

Tested by

no test coverage detected