OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-12-09 a4dd706048a9c3edb30fb3a7d42f2c010359f7fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export default function appendNewPopper(id, text, container) {
  const jasmineWrapper = document.getElementById('jasmineWrapper');
 
  const popper = document.createElement('div');
  popper.id = id;
  popper.className = 'popper';
  popper.textContent = text || 'popper';
  const arrow = document.createElement('div');
  arrow.className = 'popper__arrow';
  arrow.setAttribute('x-arrow', '');
  popper.appendChild(arrow);
  (container || jasmineWrapper).appendChild(popper);
  return popper;
}