Collector & entry are a nice tandem to enter and collect data in a declarative way.
Synopsis
Invocation | Styled | Content | Structure | Logic | |
---|---|---|---|---|---|
Collector | block | yes | yes | yes | yes |
Entry | inline | no | no | no | no |
Principles
- Collector acquires data
- Collector yields entry components
- Entry component for declarative data input
- Collector can yield and/or display data
- Data up instead of down
Example
The <LeafletMap>
by ember-leaflet
addon is a very nice example of a data entry
component type.