Skip to content

Latest commit

 

History

History

RatingComponents

Using mapTwoWay to create reusable rating components

This sample shows how to use Observable.mapTwoWay() to properly isolate reusable rating components. Two different components are implemented - one that records the rating value upon clicking a star, and the other with a RangeControl that allows for a swiping gesture to set the rating.