function addSeqForm(seq) {
  // Get imported files
  const htmlImport = document.querySelector('link[rel="import"]');
  const htmlDoc = htmlImport.import;

  const sequencesNode = document.querySelector('#new-meeting-sequences');
  const tmpl = htmlDoc.querySelector("#sequenceTmpl").content;
  const elem = tmpl.cloneNode(true);

  if(seq) {
    elem.querySelector('.table-line-title').value = seq.title ? seq.title : "New sequence";
    elem.querySelector('.table-line-duration').value = seq.duration ? seq.duration : 1;
    elem.querySelector('.table-line-color').value = seq.color ? seq.color : "red";
  }

  sequencesNode.appendChild(elem);

  // Add node reference to sequence form array;
  sequenceForm.push(elem);
}
/**
 *  Add a new step form in meeting settings view
 * : If seq defined, set node properties
 * @param {object} seq
 */
Add a new step form in meeting settings view
: If seq defined, set node properties
@param {object} seq
Add a new step form in meeting settings view : If seq defined set node properties @param { object } seq
function addSeqForm(seq) {
  const htmlImport = document.querySelector('link[rel="import"]');
  const htmlDoc = htmlImport.import;
  const sequencesNode = document.querySelector('#new-meeting-sequences');
  const tmpl = htmlDoc.querySelector("#sequenceTmpl").content;
  const elem = tmpl.cloneNode(true);
  if(seq) {
    elem.querySelector('.table-line-title').value = seq.title ? seq.title : "New sequence";
    elem.querySelector('.table-line-duration').value = seq.duration ? seq.duration : 1;
    elem.querySelector('.table-line-color').value = seq.color ? seq.color : "red";
  }
  sequencesNode.appendChild(elem);
  sequenceForm.push(elem);
}
function addSeqForm ( seq ) { const htmlImport = document . querySelector ( 'link[rel="import"]' ) ; const htmlDoc = htmlImport . import ; const sequencesNode = document . querySelector ( '#new-meeting-sequences' ) ; const tmpl = htmlDoc . querySelector ( "#sequenceTmpl" ) . content ; const elem = tmpl . cloneNode ( true ) ; if ( seq ) { elem . querySelector ( '.table-line-title' ) . value = seq . title ? seq . title : "New sequence" ; elem . querySelector ( '.table-line-duration' ) . value = seq . duration ? seq . duration : 1 ; elem . querySelector ( '.table-line-color' ) . value = seq . color ? seq . color : "red" ; } sequencesNode . appendChild ( elem ) ; sequenceForm . push ( elem ) ; }
Add a new step form in meeting settings view
 : If seq defined, set node properties
 @param {object} seq
Add a new step form in meeting settings view : If seq defined set node properties @param { object } seq
// Get imported files // Add node reference to sequence form array;