- From: Ryosuke Niwa <notifications@github.com>
- Date: Thu, 29 Mar 2018 06:28:21 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 29 March 2018 06:29:18 UTC
It seems strange that we fire `submit` before constructing `FormData`. I guess what it is that `submit` event is really `beforesubmit` event since it's cancelable and fires before the actual submission. So it is indeed confusing to call this event `beforesubmit`. Since this event is fired with a `FormData`, I don't think it makes sense to call it `constructFormData`. We also don't have any event with `construct` prefix. Note that **the name of an event doesn't need to be a verb**; we have event names such as `slotchange` and `invalid` that are not verbs. The best I can think of right is `formdataready` but I'm sure there is a better name for this. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/187#issuecomment-377135430
Received on Thursday, 29 March 2018 06:29:18 UTC