Kaynağa Gözat

Add event-submitter-polyfill note

Safari does not support submitters on submit events. This may be needed
for checking which button was clicked to submit forms.
master
TheoryOfNekomata 1 yıl önce
ebeveyn
işleme
9e891fde82
1 değiştirilmiş dosya ile 7 ekleme ve 1 silme
  1. +7
    -1
      README.md

+ 7
- 1
README.md Dosyayı Görüntüle

@@ -161,6 +161,12 @@ needed, the proper usages are documented via TSDoc comments.
The library has been tested on the static DOM using JSDOM, and the real dynamic DOM using Cypress. This is to guarantee
compatibility across environments.

See the [documentation folder](https://code.modal.sh/TheoryOfNekomata/formxtra/src/branch/master/docs) for more details on this library.
See the [documentation folder](https://code.modal.sh/TheoryOfNekomata/formxtra/src/branch/master/docs) for more details
on this library.

You may need the [event-submitter-polyfill package](https://github.com/idea2app/event-submitter-polyfill) for browsers
that do not support the submitter property on submit events (such as Safari). The submitter element is needed for
tracking which button triggered a form submission, and it may contain `name` and `value` attributes which are used to
add values to the form (such as specifying which action to take for the rest of the form values).

The sources are under the [MIT license](https://code.modal.sh/TheoryOfNekomata/formxtra/raw/branch/master/LICENSE).

Yükleniyor…
İptal
Kaydet