@omnedia/ngx-shine-border
Version:
A simple component library to create a container with an animated border.
25 lines (22 loc) • 1.4 kB
TypeScript
import * as i0 from '@angular/core';
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
declare class NgxShineBorderComponent implements AfterViewInit, OnDestroy {
private platformId;
shineBorderRef: ElementRef<HTMLElement>;
styleClass?: string;
set colorFrom(color: string);
set colorMiddle(color: string);
set colorTo(color: string);
set borderRadius(radius: string);
set borderColor(color: string);
set animationDuration(duration: string);
style: any;
isInView: i0.WritableSignal<boolean>;
private intersectionObserver?;
constructor(platformId: object);
ngAfterViewInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxShineBorderComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxShineBorderComponent, "om-shine-border", never, { "styleClass": { "alias": "styleClass"; "required": false; }; "colorFrom": { "alias": "gradientColorStart"; "required": false; }; "colorMiddle": { "alias": "gradientColorMiddle"; "required": false; }; "colorTo": { "alias": "gradientColorEnd"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; }, {}, never, ["*"], true, never>;
}
export { NgxShineBorderComponent };