Talk for DevconTLV conference including presentation slides and source code of the example.
The code example implements the "plus-one" Ember.Component to demonstrate in full Ember.Components API. The widget might be reused two different use cases:
- Likes for images,
- Approving scanned pages
Different use cases require different image inside the button itself, object id and can send different primary actions to the host controller context.
The example demonstrates the following features:
- Component construction
- Component customization
- Passing data
- Handling user interactions
- Passing actions