Skip to content

Commit 13bc776

Browse files
committed
update description of Container interface
1 parent 9fabd44 commit 13bc776

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

_articles/info/api/interfaces.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ interface DWTInitialConfig {
3434

3535
``` typescript
3636
interface Container {
37-
WebTwainId?: string; // Id of the WebTwain instance
38-
ContainerId?: string; // Id of the element
39-
Width?: string | number; // Width of the element
40-
Height?: string | number; // Height of the element
37+
WebTwainId?: string; // ID of the WebTwain instance
38+
ContainerId?: string; // ID of the container element to bind
39+
Width?: string | number; // Width of the div element appended to the container
40+
Height?: string | number; // Height of the div element appended to the container
4141
}
4242
```
4343

44-
- `WebTwainId` and `ContainerId` are both optional but one must exist as the identifier for that `WebTwain` instance.
44+
- `WebTwainId` and `ContainerId` are both optional but one must exist as the identifier for that `WebTwain` instance. If you don't need to use the viewer (headless), you can leave `ContainerId` empty.
4545
- `Width` and `Height` determine the initial size of `Viewer` object.
4646

4747
### DisplayInfo

0 commit comments

Comments
 (0)