@deepkit/desktop-ui
Version:
Library for desktop UI widgets in Angular 10+
24 lines (23 loc) • 1.18 kB
TypeScript
import { ApplicationRef, ChangeDetectorRef, ElementRef, OnChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class OpenExternalDirective implements OnChanges {
private element;
openExternal: string;
href: string;
constructor(element: ElementRef);
ngOnChanges(): void;
getLink(): string;
onClick(event: Event): void;
static ɵfac: i0.ɵɵFactoryDeclaration<OpenExternalDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<OpenExternalDirective, "[openExternal], a[href]", never, { "openExternal": { "alias": "openExternal"; "required": false; }; "href": { "alias": "href"; "required": false; }; }, {}, never, never, false, never>;
}
export declare function scheduleWindowResizeEvent(): void;
export declare class ZonelessChangeDetector {
static app: ApplicationRef | undefined;
static getApp(): ApplicationRef;
}
/**
* This handy function makes sure that in the next animation frame the given ChangeDetectorRef is called.
* It makes automatically sure that it is only called once per frame.
*/
export declare function detectChangesNextFrame(cd?: ChangeDetectorRef, done?: () => any): void;