ngx-star-rating
Version:
Simple Angular rating control from angular2 application using fontawesome icon.
21 lines (20 loc) • 836 B
TypeScript
import { OnInit, QueryList, ElementRef } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class NgxStarRatingComponent implements OnInit, ControlValueAccessor {
onChange: any;
value: any;
stars: number[];
id: string;
disabled: boolean;
ngxCheckbox: QueryList<ElementRef>;
constructor();
ngOnInit(): void;
rate(rate: any): void;
writeValue(value: any): void;
registerOnChange(fn: any): void;
registerOnTouched(fn: any): void;
private propagateChange;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxStarRatingComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxStarRatingComponent, "ngx-star-rating", never, { "id": "id"; "disabled": "disabled"; }, {}, never, never>;
}