This commit is contained in:
iqudoo
2026-04-30 18:12:39 +08:00
parent 8eef0c1867
commit 46bd158b93
7 changed files with 33 additions and 19 deletions

6
types/index.d.ts vendored
View File

@@ -33,10 +33,14 @@ interface ScanConfigOptions {
* 2. 结束扫码的方法名称为stopScan
*/
bridgeName?: string,
/**
* webScan是否启用默认启用
*/
webScanEnabled?: boolean,
/**
* 网页扫码canvas是否启用默认启用
*/
webCanvasEnabled?: boolean,
webScanCanvasEnabled?: boolean,
/**
* 网页扫码canvas样式默认position: fixed; width: 300px; height: 300px; top: 0; left: 0; z-index: 9999;
*/