Skip to content
ShMcK edited this page May 20, 2015 · 22 revisions

Challenge:

Create a working 5 star rater in Angular 2.

Example (jQuery)

Setup (angular2-alpha-20)

Solutions:

  • ★★★★★
    Selectable Star Rater
    version: alpha-24
    2015-05-20 @Sh_McK
    For => NgFor, *for => *ng-for
  • ★★★★★
    Hoverable Star Rater
    version: alpha-23
    2015-05-14 @toliklevitsky
  • ★★★★★
    Selectable Star Rater
    version: alpha-23
    2015-05-12 @Sh_McK
    App properties can't exist on the bootstrapped root. Putting the <rater [max]=5 [value]=3> inside the root worked.
  • ★★★☆☆
    Selectable Star Rater
    version: alpha-20
    2015-04-22 @Sh_McK
    Had trouble using attributes/component properties. Ideas?
Clone this wiki locally