ng-rating-pro
Version:
A powerful and customizable Angular rating component that allows full and half ratings with support for read-only mode, dynamic scaling, and SVG customization.<br/>Perfect for use in reviews, feedback forms, and rating-based applications.
14 lines (13 loc) • 564 B
TypeScript
import { ElementRef, Renderer2 } from '@angular/core';
import * as i0 from "@angular/core";
export declare class CustomRatingDirective {
private el;
private renderer;
iconViewBox: number[];
constructor(el: ElementRef, renderer: Renderer2);
updateRating(iconName: string): void;
private updateRatindId;
private getIconViewBox;
static ɵfac: i0.ɵɵFactoryDeclaration<CustomRatingDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomRatingDirective, "[ngCustomRating]", never, {}, {}, never, never, false, never>;
}