@omnedia/ngx-shiny-text
Version:
A simple component library to animate text.
23 lines (20 loc) • 1.13 kB
TypeScript
import * as i0 from '@angular/core';
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
declare class NgxShinyTextComponent implements AfterViewInit, OnDestroy {
private platformId;
shinyTextRef: ElementRef<HTMLElement>;
styleClass?: string;
set shimmerColor(color: string);
set textColor(color: string);
set shimmerWidth(width: string);
text: string;
style: any;
isInView: i0.WritableSignal<boolean>;
private intersectionObserver?;
constructor(platformId: object);
ngAfterViewInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxShinyTextComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxShinyTextComponent, "om-shiny-text", never, { "styleClass": { "alias": "styleClass"; "required": false; }; "shimmerColor": { "alias": "shimmerColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "shimmerWidth": { "alias": "shimmerWidth"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
}
export { NgxShinyTextComponent };