mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
JS -- Send events to the sandbox from annotation layer
This commit is contained in:
parent
640a08444c
commit
6502ae889d
11 changed files with 647 additions and 113 deletions
|
@ -54,7 +54,7 @@ class ProxyHandler {
|
|||
obj[prop] = value;
|
||||
if (obj._send && obj._id !== null && typeof old !== "function") {
|
||||
const data = { id: obj._id };
|
||||
data[prop] = value;
|
||||
data[prop] = obj[prop];
|
||||
|
||||
// send the updated value to the other side
|
||||
obj._send(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue