now html element can be generated by typescript

This commit is contained in:
Spedon
2023-03-21 11:55:05 +08:00
parent 6eff09f717
commit 7da5c2228a
7 changed files with 61 additions and 49 deletions

View File

@@ -1,3 +1,4 @@
import { createDesktopElements } from './elemGen'
import { imgIndexSpanUpdate } from './indexDisp'
import { trackMouseInit } from './desktop'
import { thresholdCtlInit } from './thresholdCtl'
@@ -7,6 +8,7 @@ import { preloader } from './imageCache'
import { getDeviceType } from './utils'
const desktopInit = (): void => {
createDesktopElements()
preloader(0)
vwRefreshInit()
imgIndexSpanUpdate(0, imagesArrayLen)