import { Component } from '@angular/core'; import { DEMOS } from './demos'; // webpack html imports let titleDoc = require('html-loader!markdown-loader!./docs/title.md'); @Component({ selector: 'rating-section', template: `

Rating component that will take care of visualising a star rating bar

Note: Bootstrap 4 do not include glyphicons anymore, so if you want to continue use this font, you will need to add a link to glyphicons.css

Contents

Usage

Examples

Static rating

Dynamic rating

Custom icons

API Reference

` }) export class RatingSectionComponent { public name: string = 'Rating'; public src: string = 'https://github.com/valor-software/ngx-bootstrap/tree/development/src/rating'; public demos: any = DEMOS; public titleDoc: string = titleDoc; }