Skip to content

Commit edf6f24

Browse files
update to internal commit 33dd911b
1 parent f0b79ef commit edf6f24

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

info/api/Dynamsoft_WebTwainEnv.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ permalink: /info/api/Dynamsoft_WebTwainEnv.html
2525
| [`Autoload`](#autoload) | [`Containers`](#containers) | [`CustomizableDisplayInfo`](#customizabledisplayinfo) | [`DeviceFriendlyName`](#devicefriendlyname) |
2626
| [`Host`](#host) | [`IfAddMD5InUploadHeader`](#ifaddmd5inuploadheader) | [`IfConfineMaskWithinTheViewer`](#ifconfinemaskwithintheviewer) | [`JSVersion`](#jsversion) |
2727
|[`ProductKey`](#productkey) | [`ResourcesPath`](#resourcespath) | [`ServiceInstallerLocation`](#serviceinstallerlocation) |[`UseDefaultViewer`](#usedefaultviewer) |
28-
| [`IfCheckCORS`](#ifcheckcors) | |
28+
| [`IfCheckCORS`](#ifcheckcors) | [`IfAlwaysFocusOnPopupWindow`](#ifalwaysfocusonpopupwindow) | |
2929

3030

3131
**Events**
@@ -1122,6 +1122,48 @@ IfCheckCORS: boolean;
11221122

11231123
---
11241124

1125+
## IfAlwaysFocusOnPopupWindow
1126+
1127+
Control whether the scanner-related UI and load/save UI are always displayed in the foreground.
1128+
1129+
**Syntax**
1130+
1131+
```typescript
1132+
IfAlwaysFocusOnPopupWindow: boolean;
1133+
```
1134+
1135+
**Availability**
1136+
1137+
<div class="availability">
1138+
<table>
1139+
1140+
<tr>
1141+
<td align="center">H5(Windows)</td>
1142+
<td align="center">H5(macOS/TWAIN)</td>
1143+
<td align="center">H5(macOS/ICA)</td>
1144+
<td align="center">H5(Linux)</td>
1145+
</tr>
1146+
1147+
<tr>
1148+
<td align="center">v16.2+</td>
1149+
<td align="center">v16.2+</td>
1150+
<td align="center">v16.2+</td>
1151+
<td align="center">v16.2+</td>
1152+
</tr>
1153+
1154+
</table>
1155+
</div>
1156+
1157+
**Usage Notes**
1158+
1159+
- Default value: `true`.
1160+
1161+
- When set to `true`, the scanner-related UI and load/save UI will always be displayed in the foreground.
1162+
1163+
- When set to `false`, the scanner-related UI and load/save UI will initially be displayed in the foreground, but by switching focus, they can be moved to the background behind the browser page.
1164+
1165+
---
1166+
11251167
## OnWebTwainReady
11261168

11271169
A built-in callback triggered when the Web TWAIN resources have completed loading

info/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ permalink: /info/api/
4343
| [`Autoload`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#autoload) | [`Containers`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#containers) | [`CustomizableDisplayInfo`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#customizabledisplayinfo) | [`DeviceFriendlyName`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#devicefriendlyname) |
4444
| [`Host`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#host) | [`IfAddMD5InUploadHeader`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#ifaddmd5inuploadheader) | [`IfConfineMaskWithinTheViewer`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#ifconfinemaskwithintheviewer) | [`JSVersion`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#jsversion) |
4545
| [`ProductKey`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#productkey) | [`ResourcesPath`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#resourcespath) | [`ServiceInstallerLocation`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#serviceinstallerlocation) | [`UseDefaultViewer`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#usedefaultviewer) |
46-
|[`IfCheckCORS`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#ifcheckcors) | |
46+
|[`IfCheckCORS`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#ifcheckcors) | [`IfAlwaysFocusOnPopupWindow`]({{site.info}}api/Dynamsoft_WebTwainEnv.html#ifalwaysfocusonpopupwindow) | |
4747

4848

4949
### Events

0 commit comments

Comments
 (0)