[59329aa] | 1 | import { OnInit, OnDestroy, ElementRef, ChangeDetectorRef } from '@angular/core';
|
---|
| 2 | import { AnimationEvent } from '@angular/animations';
|
---|
| 3 | import { PrimeNGConfig } from 'primeng/api';
|
---|
| 4 | import * as i0 from "@angular/core";
|
---|
| 5 | import * as i1 from "@angular/common";
|
---|
| 6 | export declare class ScrollTop implements OnInit, OnDestroy {
|
---|
| 7 | el: ElementRef;
|
---|
| 8 | private cd;
|
---|
| 9 | config: PrimeNGConfig;
|
---|
| 10 | styleClass: string;
|
---|
| 11 | style: any;
|
---|
| 12 | target: string;
|
---|
| 13 | threshold: number;
|
---|
| 14 | icon: string;
|
---|
| 15 | behavior: string;
|
---|
| 16 | showTransitionOptions: string;
|
---|
| 17 | hideTransitionOptions: string;
|
---|
| 18 | scrollListener: any;
|
---|
| 19 | visible: boolean;
|
---|
| 20 | overlay: any;
|
---|
| 21 | constructor(el: ElementRef, cd: ChangeDetectorRef, config: PrimeNGConfig);
|
---|
| 22 | ngOnInit(): void;
|
---|
| 23 | onClick(): void;
|
---|
| 24 | onEnter(event: AnimationEvent): void;
|
---|
| 25 | onLeave(event: AnimationEvent): void;
|
---|
| 26 | checkVisibility(scrollY: any): void;
|
---|
| 27 | bindParentScrollListener(): void;
|
---|
| 28 | bindDocumentScrollListener(): void;
|
---|
| 29 | unbindParentScrollListener(): void;
|
---|
| 30 | unbindDocumentScrollListener(): void;
|
---|
| 31 | containerClass(): {
|
---|
| 32 | 'p-scrolltop p-link p-component': boolean;
|
---|
| 33 | 'p-scrolltop-sticky': boolean;
|
---|
| 34 | };
|
---|
| 35 | ngOnDestroy(): void;
|
---|
| 36 | static ɵfac: i0.ɵɵFactoryDeclaration<ScrollTop, never>;
|
---|
| 37 | static ɵcmp: i0.ɵɵComponentDeclaration<ScrollTop, "p-scrollTop", never, { "styleClass": "styleClass"; "style": "style"; "target": "target"; "threshold": "threshold"; "icon": "icon"; "behavior": "behavior"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, {}, never, never>;
|
---|
| 38 | }
|
---|
| 39 | export declare class ScrollTopModule {
|
---|
| 40 | static ɵfac: i0.ɵɵFactoryDeclaration<ScrollTopModule, never>;
|
---|
| 41 | static ɵmod: i0.ɵɵNgModuleDeclaration<ScrollTopModule, [typeof ScrollTop], [typeof i1.CommonModule], [typeof ScrollTop]>;
|
---|
| 42 | static ɵinj: i0.ɵɵInjectorDeclaration<ScrollTopModule>;
|
---|
| 43 | }
|
---|