Introducing Ionic 2: Creating a List | packtpub.com

838 views · Published 3 February 2016 · 5:17 · Indexed 21 October 2026

Channel: Packt · 2016 · Science & Technology

Watch on YouTube

Part of ' Introducing Ionic 2' video series. For full Course visit:
http://bit.ly/20G8F9h

We need to present the list of search results in a visually attractive list. Ionic makes this easy with the ion-list and ion-icon components, and Angular allows us to repeat the items using ngFor as well as bind the values of attributes to the DOM elements' properties. 
• Create the list item to be repeated using ion-list and ion-icon 
• Repeat the same step for all items in the array of data using ngFor 
• Bind data to attributes, such as the source of an image or the content of a title 



For the latest web development video tutorials, please visit
http://bit.ly/1KYwKQ5


Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel