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
✨ UIHandler.submitForm() helper method now accepts a submitter element as its first parameter, in addition to a form. However, the native form.requestSubmit() method is the recommended way to manually dispatch form submissions to Naja in modern browsers.
🔧 Naja switched to the exports field in package.json
Compatibility considerations
Naja continues to hold its compatibility promise of working correctly "in the latest versions of Chromium (Chrome and Edge), Firefox, and WebKit (Safari)."
With this release, Naja newly relies on APIs that might not be available in some older versions of these browsers. If you still need to support these, please check the compatibility and available polyfills for the SubmitEvent.submitter property, and the submitter parameter in FormData() constructor.
This discussion was created from the release 3.2.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
New features
UIHandler.submitForm()
helper method now accepts a submitter element as its first parameter, in addition to a form. However, the nativeform.requestSubmit()
method is the recommended way to manually dispatch form submissions to Naja in modern browsers.Minor changes and bugfixes
submit
events of forms. Theinteraction
event'selement
property continues to refer to the submitter element when available.exports
field in package.jsonCompatibility considerations
Naja continues to hold its compatibility promise of working correctly "in the latest versions of Chromium (Chrome and Edge), Firefox, and WebKit (Safari)."
With this release, Naja newly relies on APIs that might not be available in some older versions of these browsers. If you still need to support these, please check the compatibility and available polyfills for the
SubmitEvent.submitter
property, and thesubmitter
parameter inFormData()
constructor.This discussion was created from the release 3.2.0.
Beta Was this translation helpful? Give feedback.
All reactions