You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. These actions can be triggered on different kind of events:
for example for a button it's possible to have Mouse Up, Mouse Down, Mouse Enter, Mouse Exit, On Focus and On Blur events (it's at least what is currently available in Acrobat).
these events are available for text fields too and probably the others.
we must respect the array order which means that JS actions must be triggered one by one and with the correct order.
So instead of binding an action on onclick for example we should bind an action which will run the different handlers for the different possible actions (ResetForm, Hide, GoTo, URI, ...).
3. Implement missing actions like Hide.
The text was updated successfully, but these errors were encountered:
The pdf in https://bugzilla.mozilla.org/show_bug.cgi?id=1737260 has some buttons where the click action is an array of Hide actions.
So in order to fix that stuff we must make several changes:
1. collect the actions and put them in an array:
_collectJS
:pdf.js/src/core/core_utils.js
Line 313 in 3635a9a
2. These actions can be triggered on different kind of events:
Mouse Up
,Mouse Down
,Mouse Enter
,Mouse Exit
,On Focus
andOn Blur
events (it's at least what is currently available in Acrobat).So instead of binding an action on
onclick
for example we should bind an action which will run the different handlers for the different possible actions (ResetForm, Hide, GoTo, URI, ...).3. Implement missing actions like
Hide
.The text was updated successfully, but these errors were encountered: