OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2021-11-29 d8b90cea2b95f8aedd7a213e71908b44c1df6728
1
2
3
4
5
6
7
8
9
10
export default function appendNewRef(id, text, container) {
  const jasmineWrapper = document.getElementById('jasmineWrapper');
 
  const ref = document.createElement('div');
  ref.id = id;
  ref.className = 'ref';
  ref.textContent = text || 'reference';
  (container || jasmineWrapper).appendChild(ref);
  return ref;
}