UNPKG

ng-cw-v12

Version:

Angular UI component library

27 lines (26 loc) 1.23 kB
import { ElementRef, Renderer2, EventEmitter, OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class ShineBorderDirective implements OnInit, OnDestroy, OnChanges { private el; private renderer; ncBorderWidth: number; ncDuration: number; ncStopTime: number; ncShineColor: string | string[]; ncEnabled: boolean; ncEnabledChange: EventEmitter<boolean>; private shineElement; private readonly animationName; private stopTimer; private styleElement; private isInitialized; constructor(el: ElementRef, renderer: Renderer2); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; private createShineBorderContainer; private startAnimation; private stopAnimation; static ɵfac: i0.ɵɵFactoryDeclaration<ShineBorderDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ShineBorderDirective, "[ncShineBorder]", never, { "ncBorderWidth": "ncBorderWidth"; "ncDuration": "ncDuration"; "ncStopTime": "ncStopTime"; "ncShineColor": "ncShineColor"; "ncEnabled": "ncEnabled"; }, { "ncEnabledChange": "ncEnabledChange"; }, never>; }