Wondering what’s next for npm?Check out our public roadmap! »

    @ioniczoo/starfish-rating-component
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.18 • Public • Published

    npm npm npm

    starfish

    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

    André Argôlo

    Contribute

    Create issues and request pull-request.

    License

    GNU General Public License v3.0

    Install

    npm i @ioniczoo/starfish-rating-component

    DownloadsWeekly Downloads

    2

    Version

    0.0.18

    License

    SEE LICENSE IN GNU GPLv3

    Unpacked Size

    45.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar