project/src/main/webapp/shared.js
/** Create a label tag with the add button next to it */
Create a label tag with the add button next to it
Create a label tag with the add button next to it
function buildTagWithAdder(tagClass, text) {
  let group = buildGroup();
  const addButton = buildAdder(tagClass);
  const tag = buildTag(tagClass);
  group.appendChild(addButton);
  group.appendChild(tag);
  group = setText(group, tagClass, text);
  return group;
}
function buildTagWithAdder ( tagClass , text ) { let group = buildGroup ( ) ; const addButton = buildAdder ( tagClass ) ; const tag = buildTag ( tagClass ) ; group . appendChild ( addButton ) ; group . appendChild ( tag ) ; group = setText ( group , tagClass , text ) ; return group ; }
Create a label tag with the add button next to it
Create a label tag with the add button next to it