Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 348 Bytes

File metadata and controls

4 lines (3 loc) · 348 Bytes

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.