Ionic 5 Development

How Ion-Slides work in Ionic 5

Posted by
We guide you step by step how to integrate ion-slides with ionic 5 mobile app

Indexing of development :

  • Setup and install the ionic framework
  • Create an ionic 5 application and platform setup
  • Integrate ion-slides with ionic app
  • Run and test the project

Required tools :

  • Node JS
  • Angular 8
  • Ionic 5
  • Cordova
  • Terminal or Command Line
  • IDE or Text Editor (We are using Visual Studio Code)

Let’s start the development

Before going move-forward and according to the principal steps, we believe that you have already to install NodeJS. If not, kindly download it using the link: NodeJS

Step 1: Setup and install the ionic framework

$ sudo npm install -g ionic
$ sudo ionic -v

You need to install the ionic framework, to full-fill the requirement to create an ionic project.

Ionic Installation
Install the ionic framework and check the version

Step:2 Integrate ion-slides with ionic app

Integrate ion-slides with ionic app

Step 3 : Create an ionic 5 application and platform setup

Now it times to set up the new ionic 5 application, please use the below command and run it to your terminal or command prompt.

$ ionic start ion_slides_ionic_5 blank --type=angular

  ? Integrate your new app with Capacitor to target native iOS and Android? No

If see the above question … Choose No. It will integrate the Capacitor instead of Cordova as Native accessibility

Now it’s time to move in to your app folder

$ cd ./ion_slides_ionic_5
ionic slides
ionic slides
ionic slides
ionic slides

Run your app using below ionic command

$ ionic serve -l

Setup 4 : Integrate ionic slides code in to your Home.html files


  <ion-toolbar class="home-toolbar">
    <ion-buttons slot="start">
      Ionic Slides
    <ion-avatar (click)="openPopOver($event)" class="cls-avatar" slot="end">
      <img src="../../assets/icon/person.png">
  <ion-slides #slides effect="coverflow" (ionSlideAfterInit)="ionSlideAfterInit()"
    <ion-slide *ngFor="let item of mainPredictionArray">
        <img class="card-img" src="{{item.predictionImageURL}}" />
          <ion-button color="light" slot="start">
            <ion-icon name="thumbs-up-outline"></ion-icon>
          <ion-button color="light" slot="end">
            <ion-icon name="bookmark-outline"></ion-icon>
          <ion-badge color="tertiary" slot="end">34k</ion-badge>
      <ion-item class="card-item">
        <ion-icon style="margin-right: 0px;" slot="start" class="bigger"
        <ion-textarea [(ngModel)]="conversationDetail" style="padding-left: 10px;">
        <ion-icon slot="end" (click)="saveConversation(" name="send-outline"></ion-icon>
        <ion-icon slot="end" (click)="pickImage(" slot="end" name="image-outline"></ion-icon>
      <div *ngFor="let chat of item.chatResponse">
          <ion-avatar slot="start">
            <img class="ion-img-internal" src="{{chat.userProfilePic}}">
            <h2 class="ion-img-h2 ">{{chat.userDisplayName}} </h2>
<ion-footer slot="end" class="ion-no-border">

Insert your png or jpeg files in to your assets of root folder.

ion-card {
  border-radius: 5px;
  border-style: ridge;
.home-toolbar {
  padding: 1px !important;
.swiper-slide {
  overflow-y: scroll;
  display: block;
.cls-avatar {
  margin: 1px 4px 0px 0px !important;
  height: 45px;
  width: 45px;
#container {
  text-align: center;

  position: absolute;
  left: 0;
  right: 0;
  transform: translateY(-50%);
.card-img {
  margin: 3px 0 3px !important;
.img-small {
  width: 40px;
  height: 40px;
  margin: 7px 0 7px !important;
ion-icon {
  .big {
    width: 50px;
    height: 50px;

  .bigger {
    width: 40px;
    height: 40px;
    margin-right: 0px !important;

  .red {
    color: red;
.card-item {
  border-color: #a9d6ce;
  left: 2%;
  width: 96% !important;
  border-radius: 7px;
  border-style: groove;
#container strong {
  font-size: 20px;
  line-height: 26px;
#container p {
  font-size: 16px;
  line-height: 22px;

  color: #8c8c8c;

  margin: 0;

#container a {
  text-decoration: none;

ion-content ion-toolbar {
  --background: translucent;
ion-slides {
  height: 100%;

.swiper-slide {
  display: block;

.swiper-slide h2 {
  margin-top: 2.8rem;
.ion-img-h2 {
  margin-top: 10px !important;
.ion-img-internal {
  max-height: 80% !important;
  max-width: 80% !important;
  margin: 13px 0 13px !important;
  pointer-events: none !important;

.swiper-slide img {
  max-height: 50%;
  max-width: 80%;
  margin: 60px 0 40px;
  pointer-events: none;

b {
  font-weight: 500;

p {
  padding: 0 40px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ion-color-step-600, #60646b);

p b {
  color: var(--ion-text-color, #000000);

import { Component } from '@angular/core';

  selector: 'app-home',
  templateUrl: '',
  styleUrls: [''],
export class HomePage {
  mainPredictionArray: { header: string; predictionImageURL: string; subject: string; title: string; id: string; chatResponse: any[]; }[];
  loginProfilePic: any;
  constructor() {
  showSlides() {
    this.mainPredictionArray = 
{ "header": "Keyur Lasan", "predictionImageURL": "", "subject": " Founded in 1829 on an isthmus between Lake Monona and Lake Mendota, Madison was named the capital of the Wisconsin Territory in 1836. ", "title": " Founded in 1829", "id": "Keyur", "chatResponse": [] },

{ "header": "Milan Marvadi", "predictionImageURL": "", "subject": " Founded in 1829 on an isthmus between Lake Monona and Lake Mendota, Madison was named the capital of the Wisconsin Territory in 1836. ", "title": " Founded in 1829", "id": "Milan", "chatResponse": [] },

    { "header": "Shailesh Kotho", "predictionImageURL": "", "subject": " Founded in 1829 on an isthmus between Lake Monona and Lake Mendota, Madison was named the capital of the Wisconsin Territory in 1836. ", "title": " Founded in 1829", "id": "Shailesh", "chatResponse": [] },

    { "header": "Yogesh Kumar", "predictionImageURL": "", "subject": " Founded in 1829 on an isthmus between Lake Monona and Lake Mendota, Madison was named the capital of the Wisconsin Territory in 1836. ", "title": " Founded in 1829", "id": "Yogesh", "chatResponse": [] }

$ ionic cordova add android
$ ionic cordova add ios
$ ionic cordova run android
$ ionic cordova run ios

You can download the project using Github link click_here

We did it!


Yogesh Patil


  1. cialis dosages 10mg|what do cialis pfizer 50 mg|tabletas cialis|90 cialis 5mg cost|50mg generic cialis|cialis super aktiv uk|cialis online express delivery|generic cialis canada cheapest|only today 5 mg cialis|i use it 50mg cialis|discount cialis 20 mg|google cialis|muestra de cialis mejor|cialis pour la femme|cialis diario compra|cheapest cialis onlinecom|husband takes too much cialis|cialis 5 mg cura prostata|low dose cialis and bph|cialis y deporte|cialis soft tabs review|cialis super active max dose|costo del messico cialis|acheter cialis prix|brand cialis online usa|lilly cialis to buy|order female cialis overnight|cialis dangereux pour la sant|cialis mail order canada|cialis daily 5 mg online|acheter cialis bretagn|cialis in thai drug stores|comprar cialis 40 en india|efectos cialis 10|generic cialis picture of pill|cialis 5 mg apotheke|due cialis da 5 mg|wow cialis delivery|cialis 20mg lilly 4st ft|cialis e vino|cheap cialis in sydney order|cialis 20mg mastercard|buy cialis super active|cialis kaufen docmorris|cialis con paypal|cialis baratos uk se comparan|health effects of cialis|best deals on cialis in canada|prezzi cialis farmaci|cialis soft revie|mega cialis norx generic|buy cheap generic cialis 50mg|cialis bugiardin|cialis 5 mg 28x tabl|la compra cialis en egipto|follow link cost of cialis|cialis radio australia|vendita cialis siti buoni|buy discount generic cialis|cialis once daily uk|cialis gli effetti|click now cheap cialis online|prezzo di cialis a farmacia|cialis 80 mg manufacturers|we recommend branded cialis|buy cialis in toronto|cialis in internet|cheap cialis online from india|vente cialis en ligne france|cialis impuissance|is cialis 50mg generic fake|cialis for sale from china|the best place cialis 100|cuanto cuesta cialis yahoo|cialis 5 mg principio attivo|cialis soft genrico 20 mg|generic cialis 20 mg cipla|can you buy cialis without|tomar cialis es bueno|schweiz cialis|very good site get cialis|wow best way to use cialis|price for cialis 20mg|cialis buy ca dapoxetine|compra de medicina de cialis|cialis and purchase|cialis erfahrungsberichte|buy cialis 60 mg online|cialis super active mg usa|cheap 50 mg cialis|generic cialis tadalafil com|cialis generika shop|5mg cialis brand not generic|average monthly cost of cialis|cialis modo de us|cialis freie proben|only here cialis 20 mg|cialis buy without|cialis levitra profissional|cialis tadalafil dosage|buy cialis real|cialis medical advice|can you order generic cialis|click now cialis injectable|cialis generico in farmaci|cialis kautabletten kaufen|cialis nyc overnight shipping|cialis purchase australia|link for you cialis endurance|cialis use daily online|cialis original bestellen|cheapest generic cialis uk|commande cialis|purchase cialis one|cialis delivered canada|acheter cialis sur paris|indian cheap cialis prices|buy cheap cialis on line|cialis 20 vidal|vente medicament cialis|acheter cialis france|cialis mg acquisto on line|cialis 20 mg confezione|meilleur prix cialis 5mg|tachyphylaxis with cialis use|best site buy generic cialis|taking cialis and alcohol|farmacia sper cialis|only here cialis 50mg|the best choice cialis pfizer|cialis dosagem minima|buy cialis jelly tablets usa|discount uk medicine cialis|cialis 20mg malta|20 mg cialis cost rite aid|cialis generic tabs|cialis dose consigliat|comprar cialis|cialis india prezzo basso|we recommend mexico cialis|cialis 50mg online|cialis trazodon|medco cost of cialis|to take double dose of cialis|cialis 10 mg online order eu|is there any generic cialis|indio cialis genrico|click here purchase cialis|try it buying cialis online|cialis 5mg prices in uk|images of generic cialis|kosten cialis 10mg|healthy man cialis|cialis kamagra kaufen|cialis one a day cost|only here professional cialis|acheter cialis pas cher france|cialis and buy|cialis espaa contrareembolso|cialis y otros medicamentos|cialis guenstig|we use it 50 mg cialis dose|free cialis samples for canada|cialis prices us drugs|cialis everyday 5mg|cialis cura prostata|cheap cialis 5mg|achat cialis original franc|india cialis paymentpaypal|was kostet cialis|the best site herbal cialis|cialis effekt|cheap mail order cialis|dove comprare cialis online|day cialis generic buy next|cialis generico dalla svizzera|cialis generico e originale|cialis in local stores in usa|50 mg cialis|can 40mg of cialis be taken|comprar cialis en espaa|is female cialis legal in uk|are secure tabs cialis safe|i use it cialis pfizer|cialis cost 10mg|wow look it buy cialis on line|follow link buy now cialis|cialis maximum dose tested|sconto a buon mercato cialis|generisches cialis en ligne|click here canada price cialis|cheapest place to order cialis|canada and cialis super active|order generic cialis order|canadian prescriptions cialis|new cialis commercial 2011|cialis 5 mg infarmed|cialis comprar valencia|cialis price india|cialis welche dosierung|cialis acheter paris|buying cialis in toronto|24 hours fast shipping cialis|purchase generic female cialis|cialis 10 mg lowest price|cialis 12 stc|buy cialis tadalafil wholesale|best price on cialis 10 mg|cialis kaufen online in kanada|pharmacie cialis viagr|only now usa generic cialis|mexican rx cialis low priced|cialis en turquie|cialis uk approved|cialis 20 mg 8 compresse|cialis 20mg plus petit prix|prix du cialis medicament|cialis compr|free samples cialis spain|ou acheter du cialis en france|generici di cialis|cialis steroid use|trial cialis|when do you use cialis|us pharmacy 20 mg cialis|cialis buy online south africa|cialis online 25mg|cialis weniger nebenwirkungen|cialis commercial bathtubs|acquista cialis|buy cialis jelly online|cialis vendita libera|dr cheapest generic cialis|we recommend 100mg cialis|campione libero cialis|cialis prescription coverage|cialis australia prescription|cialis rezeptfrei packstation|foro cialis original|los cialis nz compran|free samples of cialis canada|politique de cialis order|cheap cialis us to us|comprar cialis autentica|usefull link cialis overnite|prix du cialis pharmaci|cialis en colima|generic cialis sun pharma|cheap cialis online generic|cheap overnight cialis Mariana Cobby Kokaras

  2. We are a group of volunteers and starting a new scheme in our community. Your web site provided us with valuable info to work on. You have done a formidable job and our entire community will be grateful to you. Celeste Benedicto Shellie

  3. After exploring a few of the blog articles on your blog, I really appreciate your technique of writing a blog. I saved as a favorite it to my bookmark website list and will be checking back in the near future. Please visit my website too and let me know how you feel. Lily Melvin Amaris

  4. You really make it seem so easy with your presentation but I find this topic to be really something that I think I would never understand. It seems too complex and very broad for me. I am looking forward for your next post, I will try to get the hang of it! Jeanna Jeromy Selry

  5. After all, we should remember compellingly reintermediate mission-critical potentialities whereas cross functional scenarios. Phosfluorescently re-engineer distributed processes without standardized supply chains. Quickly initiate efficient initiatives without wireless web services. Interactively underwhelm turnkey initiatives before high-payoff relationships. Holisticly restore superior interfaces before flexible technology. Barbie Maxy Schoenburg

  6. Having read this I thought it was really informative. I appreciate you spending some time and effort to put this information together. I once again find myself spending a significant amount of time both reading and commenting. But so what, it was still worth it. Essie Shepard Ogilvie

Leave a Reply

Your email address will not be published. Required fields are marked *