UNPKG

@cauca-911/input-validators

Version:

Run `npm install @cauca-911/input-validators` to add this library to your project

18 lines (17 loc) 797 B
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare class UrlDetectorDirective implements AfterViewInit { private elementRef; hasUrlChanged: EventEmitter<boolean>; hasLongUrlChanged: EventEmitter<boolean>; private hasUrl; private hasLongUrl; constructor(elementRef: ElementRef); ngAfterViewInit(): void; onInput(): void; private checkIfTextHasUrl; private checkForUrl; private checkForLongUrl; static ɵfac: i0.ɵɵFactoryDeclaration<UrlDetectorDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<UrlDetectorDirective, "[caucaUrlDetector]", never, {}, { "hasUrlChanged": "hasUrlChanged"; "hasLongUrlChanged": "hasLongUrlChanged"; }, never, never, true, never>; }