WIP, thinking about converting to EF

This commit is contained in:
Lani Aung
2021-11-18 21:24:20 -07:00
parent fd8858aab3
commit 1fd14ebafd
20 changed files with 1513 additions and 179 deletions
+4
View File
@@ -46,4 +46,8 @@ export default class Builder {
build(): HTMLElement {
return this.element
}
static element(tag: string, attributes: { [key: string]: string | number }, ...classes: string[]): Builder {
return new Builder(tag).addAttributes(attributes).addClass(...classes)
}
}