mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Pause translation when appending the outline/attachment/layer trees to the sidebar
Also, pause translation when collapsing/expanding subtrees.
This commit is contained in:
parent
0fc899338c
commit
6b265b3a15
6 changed files with 41 additions and 2 deletions
|
@ -205,6 +205,16 @@ class IL10n {
|
|||
* @returns {Promise<void>}
|
||||
*/
|
||||
async translate(element) {}
|
||||
|
||||
/**
|
||||
* Pause the localization.
|
||||
*/
|
||||
pause() {}
|
||||
|
||||
/**
|
||||
* Resume the localization.
|
||||
*/
|
||||
resume() {}
|
||||
}
|
||||
|
||||
export { IDownloadManager, IL10n, IPDFLinkService, IRenderableView };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue