JSFiddle - React, Tailwind, and code Playground

by uiwwnw

JavaScript

var Toast = (function(Toast) {
  function Toast() {
  
  }
  
  return Toast;
}(Toast));

/* 
var a = new Popup({
  id: 'a',
  styleBoxWidth: 400,
  textHeader: '다른팝업호출하기',
  textContent: '<h1>처음선언한옵션</h1>',
  textConfirm: '팝업호출',
  fnConfirm: function() {
    this.close();
    b.open();
  },
});
var b = new Popup({
  id: 'b',
});
a.open({
  textHeader: '두번째옵션',
  textContent: '두번째옵션',
});
document.getElementById('aa').onclick = a.open.bind(a); */