()
| 22 | this.emoji_name = json.emoji_name; |
| 23 | } |
| 24 | makeHTML() { |
| 25 | const tagDiv = document.createElement("div"); |
| 26 | tagDiv.classList.add("forumTag"); |
| 27 | |
| 28 | //TODO render emojis |
| 29 | |
| 30 | const name = document.createElement("span"); |
| 31 | name.textContent = this.name; |
| 32 | tagDiv.append(name); |
| 33 | |
| 34 | return tagDiv; |
| 35 | } |
| 36 | } |
no test coverage detected