@omnedia/ngx-cryptic-text
Version:
A simple component library to animate text.
25 lines (22 loc) • 1.2 kB
TypeScript
import * as _angular_core from '@angular/core';
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
declare class NgxCrypticTextComponent implements AfterViewInit, OnDestroy {
private platformId;
crypticTextElement: ElementRef<HTMLElement>;
styleClass?: string;
set textInput(text: string);
text: string;
templateText: _angular_core.WritableSignal<string>;
animationSpeed: number;
animateOnce: boolean;
animated: boolean;
isInView: _angular_core.WritableSignal<boolean>;
private intersectionObserver?;
constructor(platformId: object);
ngAfterViewInit(): void;
ngOnDestroy(): void;
generateText(): void;
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxCrypticTextComponent, never>;
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxCrypticTextComponent, "om-cryptic-text", never, { "styleClass": { "alias": "styleClass"; "required": false; }; "textInput": { "alias": "text"; "required": false; }; "animationSpeed": { "alias": "animationSpeed"; "required": false; }; "animateOnce": { "alias": "animateOnce"; "required": false; }; }, {}, never, never, true, never>;
}
export { NgxCrypticTextComponent };