shex / conf-devcontlv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reusable Ember widgets and components

Purpose and content

Talk for DevconTLV conference including presentation slides and source code of the example.

Code Example Description

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

About