How to highlight list item in a list

I have a long list item in my app. how to highlight particular list item meaning user no need to scroll up or scroll down the list.

If you want your list to scroll to a certain element you need to give that element an id <div id="item-123" class="item">... then you can use the $ionicScrollDelegate and $location in your controller like this:
$location.hash("item-123"); $ionicScrollDelegate.anchorScroll(true); // Scroll with animation. Set to false to jump in your list.
I didn’t try it but I think this works.

To visible highlight that item you need to set a class (maybe with ng-class="{highlight: item.isHighlighted}") and apply some css.

1 Like

thanks. i will give a try.