UNPKG

ng-cw-v12

Version:

Angular UI component library

32 lines (31 loc) 1.15 kB
import { OnInit, ElementRef, OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; export declare class AutoScrollTextComponent implements OnInit, OnDestroy { textContainer: ElementRef; scrollText: ElementRef; private animationId; private position; private isPaused; private lastTimestamp; private pauseStartTime; private _text; set ncText(val: string); get ncText(): string; ncSpeed: number; private _loop; set ncLoop(val: boolean | string); get ncLoop(): boolean; ncGap: number; private _pause; set ncPause(val: boolean | string); get ncPause(): boolean; constructor(); ngOnInit(): void; ngOnDestroy(): void; onMouseEnter(): void; onMouseLeave(): void; private startScrolling; private resetScroll; static ɵfac: i0.ɵɵFactoryDeclaration<AutoScrollTextComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AutoScrollTextComponent, "nc-auto-scroll-text", never, { "ncText": "ncText"; "ncSpeed": "ncSpeed"; "ncLoop": "ncLoop"; "ncGap": "ncGap"; "ncPause": "ncPause"; }, {}, never, never>; }