Repository URL to install this package:
|
Version:
1.0.1 ▾
|
import * as React from 'react';
import { IntersectionObserverProps } from './typings';
declare class IntersectionObserverComponent extends React.Component<IntersectionObserverProps> {
static displayName: string;
readonly options: {};
handleChange: (event: IntersectionObserverEntry | React.ChangeEvent<any>) => void;
target: Element;
renderedTarget: Element;
targetChanged: boolean;
observer: IntersectionObserver;
/**
* @todo forwardRef........ !!!
*/
handleNode: (target: HTMLElement) => void;
observe: () => void;
unobserve: () => void;
componentDidMount(): void;
componentDidUpdate(prevProps: {
[key: string]: unknown;
}): void;
componentWillUnmount(): void;
render(): React.ReactElement<any>;
}
export { IntersectionObserverComponent };
export default IntersectionObserverComponent;