Implemented adding and removing anime
This commit is contained in:
7
scripts/utils.ts
Normal file
7
scripts/utils.ts
Normal file
@ -0,0 +1,7 @@
|
||||
export function* findAll(query: string) {
|
||||
let elements = document.querySelectorAll(query)
|
||||
|
||||
for(let i = 0; i < elements.length; ++i) {
|
||||
yield elements[i] as HTMLElement
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user