Re: [w3c/webcomponents] Need callback for form submit data (#187)

> > as long as there is a way to add more data without creating any custom elements.
>
> Okay, it seems the event would satisfy that requirement.

Yes, I suppose we standardize both of the ```formdata``` event and the custom element extension, and the former doesn't depend on custom elements.

I updated [the document](https://docs.google.com/document/d/1JO8puctCSpW-ZYGU8lF-h4FWRIDQNDVexzHoOQ2iQmY/edit?usp=sharing). Now it contains the idea of ```HTMLElementPrimitives```.  Also, the current proposal is capable to handle multiple entries for a single custom element, like ```<input type=image>``` and ```dirname``` content attribute.

```HTMLElementPrimitives``` is very similar to ```ElementStates``` in https://github.com/w3c/webcomponents/issues/738#issuecomment-367565438. This issue and https://github.com/w3c/webcomponents/issues/738 should have the identical way to provide helper APIs.


-- 
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-396497247

Received on Tuesday, 12 June 2018 07:44:43 UTC