mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
JS -- Add support for buttons
* radio buttons * checkboxes
This commit is contained in:
parent
9c99df7cac
commit
7c3facb174
10 changed files with 280 additions and 24 deletions
|
@ -92,6 +92,9 @@ class EventDispatcher {
|
|||
if (source.obj._isButton()) {
|
||||
source.obj._id = id;
|
||||
event.value = source.obj._getExportValue(event.value);
|
||||
if (name === "Action") {
|
||||
source.obj._value = event.value;
|
||||
}
|
||||
}
|
||||
|
||||
if (name === "Keystroke") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue