@ioniczoo/starfish-rating-component
v0.0.18
Published
Rating Component for Ionic: Our bright starfish will help you carry out rating. Our Starfish is a Rating Component.
Downloads
15
Readme
Starfish Rating Component
Rating Component for Ionic: Our bright starfish will help you carry out rating. Our Starfish is a Rating Component.
Install
npm install @ioniczoo/starfish-rating-component --save
Import RatingComponent
to home.module.ts
...
import { RatingComponent } from '@ioniczoo/starfish-rating-component';
@NgModule({
declarations: [
HomePage,
MapComponent,
RatingComponent
],
imports: [
IonicPageModule.forChild(HomePage)
],
})
export class HomePageModule {}
Example
<ion-content>
<ion-card padding text-center>
My Rating: {{star | json}}
</ion-card>
<ion-list>
<ion-item>
<span zoo-rating-title>Rate the trip?</span>
<zoo-rating name="starts" id="starts" icon="star" color="yellow" background="#ccc" [(ngModel)]="stars"></zoo-rating>
</ion-item>
</ion-list>
</ion-content>
Author
Contribute
Create issues and request pull-request.