import { ScrollTopPassThrough, ScrollTopTarget, ScrollTopBehavior, ScrollTopIconTemplateContext } from 'primeng/types/scrolltop'; export * from 'primeng/types/scrolltop'; import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import { MotionOptions, MotionEvent } from '@primeuix/motion'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { ButtonDirectiveOptions } from 'primeng/types/button'; import { CSSProperties } from 'primeng/types/shared'; import { BaseStyle } from 'primeng/base'; import * as i2 from 'primeng/api'; declare class ScrollTopStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-scrolltop-sticky': boolean; })[]; icon: string; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly. * * [Live Demo](https://www.primeng.org/scrolltop/) * * @module scrolltopstyle * */ declare enum ScrollTopClasses { /** * Class name of the root element */ root = "p-scrolltop", /** * Class name of the icon element */ icon = "p-scrolltop-icon" } /** * ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly. * @group Components */ declare class ScrollTop extends BaseComponent { componentName: string; $pcScrollTop: ScrollTop | undefined; bindDirectiveInstance: Bind; /** * Class of the element. * @group Props */ styleClass: _angular_core.InputSignal; /** * Inline style of the element. * @group Props */ style: _angular_core.InputSignal; /** * Target of the ScrollTop. * @group Props */ target: _angular_core.InputSignal; /** * Defines the threshold value of the vertical scroll position of the target to toggle the visibility. * @group Props */ threshold: _angular_core.InputSignalWithTransform; /** * Name of the icon or JSX.Element for icon. * @group Props */ _icon: _angular_core.InputSignal; /** * Defines the scrolling behavior, "smooth" adds an animation and "auto" scrolls with a jump. * @group Props */ behavior: _angular_core.InputSignal; /** * The motion options. * @group Props */ motionOptions: _angular_core.InputSignal; /** * Establishes a string value that labels the scroll-top button. * @group Props */ buttonAriaLabel: _angular_core.InputSignal; /** * Configuration object forwarded to the underlying button. * @group Props */ buttonProps: _angular_core.InputSignal; /** * Custom icon template. * @param {ScrollTopIconTemplateContext} context - icon context. * @see {@link ScrollTopIconTemplateContext} * @group Templates */ iconTemplate: _angular_core.Signal | undefined>; computedMotionOptions: _angular_core.Signal; documentScrollListener: VoidFunction | null | undefined; parentScrollListener: VoidFunction | null | undefined; visible: _angular_core.WritableSignal; render: _angular_core.WritableSignal; overlay: HTMLElement | null; _componentStyle: ScrollTopStyle; constructor(); getIconTemplateContext(): { styleClass: string | undefined; }; onAfterViewChecked(): void; onInit(): void; onClick(): void; onBeforeEnter(event: MotionEvent): void; onBeforeLeave(): void; onAfterLeave(): void; checkVisibility(scrollY: number): void; bindParentScrollListener(): void; bindDocumentScrollListener(): void; unbindParentScrollListener(): void; unbindDocumentScrollListener(): void; onDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ScrollTopModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ScrollTop, ScrollTopClasses, ScrollTopModule, ScrollTopStyle };