mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-10-14 16:10:10 +00:00
updating assets and rendering
This commit is contained in:
parent
977831157f
commit
60bc8c71e9
17 changed files with 106 additions and 104 deletions
|
@ -13,8 +13,8 @@ class App {
|
|||
|
||||
async drawData(): Promise<void> {
|
||||
const contentRoot = <HTMLDivElement>document.getElementById(App.contentEntry)
|
||||
const body = new HTMLDivElement()
|
||||
const title = new HTMLHeadingElement()
|
||||
const body = document.createElement("div")
|
||||
const title = document.createElement("h1")
|
||||
title.innerText = "Hello World"
|
||||
body.appendChild(title)
|
||||
contentRoot.appendChild(body)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue