(emotion_reigster.js) window.onload = () => { ComponentEvent.getInstance().addClickEventRegisterButton(); ComponentEvent.getInstance().addClickEventImgAddButton(); ComponentEvent.getInstance().addChangeEventImgFile(); ComponentEvent.getInstance().addClickEventImgRegitserButton(); ComponentEvent.getInstance().addClickEventImgCencelButton(); } const emoObj = { emoCode: “”, emoName: “”, company: “”, emoDate: “” } const fileObj = { files: new Array(), formData: new FormData() } class EmoRegisterApi{ static #instance = null; static getInstance() { if(this.#instance == null) { this.#instance = new EmoRegisterApi(); } return … Read more