Skip to content

Commit aebd347

Browse files
committed
update infoobject
1 parent 941ee40 commit aebd347

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

api/interface/infoobject.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,18 @@ interface LoadWasmInfo {}
1919

2020
interface LoadSourceInfo {
2121
docUid: string;
22+
/** Number of documents processed so far */
2223
current: number;
24+
/** Total number of documents to process */
2325
total: number;
2426
}
2527

2628
interface SaveSourceInfo {
2729
docUid: string;
2830
pageUids: [];
31+
/** Number of pages processed so far */
2932
current: number;
33+
/** Total number of pages to process */
3034
total: number;
3135
}
3236

@@ -42,7 +46,9 @@ interface PerspectiveInfo {
4246

4347
interface PrintPreparationInfo {
4448
docUid: string;
49+
/** Number of pages processed so far */
4550
current: number;
51+
/** Total number of pages to process */
4652
total: number;
4753
}
4854

@@ -103,3 +109,7 @@ Indicates the status of the task. Can only be one of the following:
103109
### details
104110

105111
Contains additional event type-specific info.
112+
113+
## See Also
114+
115+
[`DDV.on("info")`](/api/namespace/ddv.md#info)

api/namespace/ddv.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ Triggered for any of the following tasks:
390390
- `filter`
391391
- `perspective`
392392
- `loadWasm`
393+
- `printPreparation`
393394

394395
See [`InfoObject`]({{ site.api }}interface/infoobject.html) for details.
395396

0 commit comments

Comments
 (0)