design-angular-kit
Version:
Un toolkit Angular conforme alle linee guida di design per i servizi web della PA
25 lines (24 loc) • 981 B
TypeScript
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
import * as i0 from "@angular/core";
export declare class ItRatingComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges {
/**
* The rating value
*/
value: number | undefined;
/**
* Number of stars to show
* @default 5
*/
starCount: number;
protected stars: Array<number>;
ngOnChanges(changes: SimpleChanges): void;
ngOnInit(): void;
/**
* Generate the array of stars
* @private
*/
private generateStars;
static ɵfac: i0.ɵɵFactoryDeclaration<ItRatingComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ItRatingComponent, "it-rating", never, { "value": { "alias": "value"; "required": false; }; "starCount": { "alias": "starCount"; "required": false; }; }, {}, never, never, true, never>;
}