googlearchive / polymer-element-catalog

A catalog of Polymer-based web components built by the Polymer team
BSD 3-Clause "New" or "Revised" License
164 stars 91 forks source link

Document data binding to form-like elements #286

Open hubgit opened 8 years ago

hubgit commented 8 years ago

The elements catalog is great, but there's something that would be a useful addition for the form elements (inputs, checkboxes, etc): documentation and examples of how to bind data to each element. This is particularly necessary because the binding attribute is different for almost every element type.

For example:

Maybe each element needs a "Binding" section?

lawilli commented 7 years ago

@hubgit The respective repos of the cited elements might be more fitting of a place for these issues. For instance, the docs you see in the Element Catalog for <paper-input> was generated from the source of <paper-input>. The element catalog parses those documentation comments when the catalog is built.