fix
This commit is contained in:
10
types/index.d.ts
vendored
10
types/index.d.ts
vendored
@@ -54,7 +54,7 @@ interface ScanConfigOptions {
|
||||
*/
|
||||
webScanCanvasEnabled?: boolean,
|
||||
/**
|
||||
* 网页扫码canvas样式,默认:position: fixed; width: 300px; height: 300px; top: 0; left: 0; z-index: 9999;
|
||||
* 网页扫码canvas样式,默认:PC 为左上角固定 300×300;移动端为 min(视口宽, 视口高) 的正方形,固定在左上角;z-index: 9999
|
||||
*/
|
||||
webScanCanvasStyle?: string,
|
||||
/**
|
||||
@@ -69,6 +69,14 @@ interface ScanConfigOptions {
|
||||
* 网页扫码关闭按钮的 class
|
||||
*/
|
||||
webScanCloseButtonClass?: string,
|
||||
/**
|
||||
* Canvas 开启且支持图片识别时,关闭按钮下方的「选图」按钮样式(fixed 定位基准由 SDK 计算,可与关闭按钮一致覆盖)
|
||||
*/
|
||||
webScanPickImageButtonStyle?: string,
|
||||
/**
|
||||
* 网页扫码选图按钮的 class
|
||||
*/
|
||||
webScanPickImageButtonClass?: string,
|
||||
/**
|
||||
* 网页扫码类型,默认支持二维码和条码
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user