import * as _angular_core from '@angular/core'; import { OnInit, OnDestroy, TemplateRef, Signal, ElementRef } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from 'ngx-tethys/icon'; /** * 回到顶部组件 * @name thy-back-top */ declare class ThyBackTop implements OnInit, OnDestroy { private doc; private thyScrollService; private platform; private cdr; private zone; classNames: boolean; /** * 自定义按钮显示模板 */ readonly thyTemplate: _angular_core.InputSignal | undefined>; /** * 指定对哪个 DOM 元素返回顶部 * @type string | HTMLElement * @default window */ readonly thyContainer: _angular_core.InputSignal; /** * 滚动高度达到此参数值才出现 thy-back-top * @type number */ readonly thyVisibilityHeight: _angular_core.InputSignalWithTransform; /** * 点击按钮的回调函数 */ readonly thyClick: _angular_core.OutputEmitterRef; /** * 监听按钮显示状态的回调函数 */ readonly visibleChange: _angular_core.OutputEmitterRef; /** The native `
` element. */ readonly backTop: Signal | undefined>; visible: boolean; readonly animateEnterClass: string; readonly animateLeaveClass: string; /** * The subject used to store the native `
` since * it's located within the `ngIf` directive. It might be set asynchronously whenever the condition * is met. Having subject makes the code reactive and cancellable (e.g. event listeners will be * automatically removed and re-added through the `switchMap` below). */ private backTop$; private destroy$; private scrollListenerDestroy$; private target; constructor(); ngOnInit(): void; private handleScroll; private registerScrollEvent; ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ThyBackTopModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ThyBackTop, ThyBackTopModule };