Ionic Framework | Page Five

Adding ui to our app.


Adding refresh button

Ionic documentation for buttons

Below h1 title, add the following:

<button class="button icon ion-refresh" ng-click="refresh()"></button>

Adding layout

Remove this code

<h1>Content Here</h1>

Replace with this:

Ionic documentation for cards
<div class="card list">
 <div class="item item-avatar-left">
  <img src="" alt="">
  <h2>Name</h2>
  <p>Content</p>
 </div>
</div>
<div class="item item-body">
 <h1>Title</h1>
 <Lorem ipsum dolor sit amet, consectetur adipisicing elit. Numquam, quidem. Saepe ducimus, deserunt quam perspiciatis eius dolores voluptatem odit minus voluptatibus iure praesentium porro et consequatur corrupti necessitatibus temporibus asperiores?</p>
</div>

prev
next