April 2017
Intermediate to advanced
242 pages
5h 35m
English
Ionic rating is a third-party module for visualizing the rating bar. We will be using this module in our application in the product-detail page. This module is available as an NPM module, so it will be really easy and quick to integrate:
$ npm install --save ionic2-rating
// src/app/app.module.ts import { Ionic2RatingModule } from 'ionic2-rating'; imports: [ IonicModule.forRoot(vPlanetApp), Ionic2RatingModule, TranslateModule.forRoot({ provide: TranslateLoader, useFactory: createTranslateLoader, deps: [Http] }), CloudModule.forRoot(cloudSettings) ], // src/pages/product-detail/product-detail.html <rating [(ngModel)]="rate" readOnly="false" max="5"></rating>
The Ionic community has evolved a lot in the last three ...
Read now
Unlock full access