Building an interactive activity slider component

In the previous topics, we covered the basics of working with SVG and dealing with SVG in Angular components. Now, it's time to apply our knowledge to the task management application and create some awesome components using SVG.

The first component we'll be creating in this context is an interactive slider that allows the user to select the time range of activities that he or she is interested in checking out. Displaying a simple HTML5 range input could be a solution, but since we've gained some SVG superpower, we can do better! We'll use SVG to render our own slider that will show existing activities as ticks on the slider. Let's look at a mock-up of the slider component that we're going ...

Get Mastering Angular Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.