UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

26 lines (25 loc) 1.42 kB
import { ElementRef, OnInit, OnDestroy, TemplateRef } from '@angular/core'; import { VisibilityService } from './visibility.service'; import * as i0 from "@angular/core"; export declare class LazyContentDirective { static ɵfac: i0.ɵɵFactoryDeclaration<LazyContentDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<LazyContentDirective, "[aclLazyContent]", never, {}, {}, never, never, true, never>; } export declare class LazyPlaceholderDirective { static ɵfac: i0.ɵɵFactoryDeclaration<LazyPlaceholderDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<LazyPlaceholderDirective, "[aclLazyPlaceholder]", never, {}, {}, never, never, true, never>; } export declare class LazyComponent implements OnInit, OnDestroy { private readonly el; private readonly visibilityService; $$isVisible: import("@angular/core").WritableSignal<boolean>; template: TemplateRef<unknown>; placeholder: TemplateRef<unknown>; destroyOnHide: boolean; private subscription; constructor(el: ElementRef, visibilityService: VisibilityService); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<LazyComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LazyComponent, "acl-lazy-component", never, { "destroyOnHide": { "alias": "destroyOnHide"; "required": false; }; }, {}, ["template", "placeholder"], never, true, never>; }