UNPKG

react-application-core

Version:

A react-based application core for the business applications.

49 lines (48 loc) 1.26 kB
import { IGenericComponent, IGenericPlugin, IStickyComponentProps } from '../../definition'; export declare class StickyHeaderPlugin implements IGenericPlugin { private readonly component; private readonly domAccessor; private readonly eventManager; private resizeUnsubscriber; private scrollUnsubscriber; private isStickyElementMounted; /** * @stable [06.02.2020] * @param {IComponent<IStickyComponentProps>} component */ constructor(component: IGenericComponent<IStickyComponentProps>); /** * @stable [11.10.2019] */ componentDidMount(): void; /** * @stable [11.10.2019] */ componentDidUpdate(): void; /** * @stable [11.10.2019] */ componentWillUnmount(): void; /** * @stable [11.10.2019] */ private doSetStickyElementProperties; /** * @stable [16.10.2019] */ private checkStickyElement; /** * @stable [16.10.2019] */ private clearAllListeners; /** * @stable [16.10.2019] * @returns {string} */ private get stickySelector(); /** * @stable [21.04.2020] * @returns {HTMLElement} */ private get selfRef(); }