ngx-star-rating-latest
Version:
----(Forked)--- Updated to latest Angular V.Simple Angular rating control from angular2 application using fontawesome icon. (Upodated)
21 lines (20 loc) • 896 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": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
}