Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import * as React from 'react';
import { IntersectionObserverProps } from '@skava/react-dom-observable';
export default class ImageIntersectionObserver extends React.PureComponent<IntersectionObserverProps> {
static displayName: string;
wrapperRef: React.RefObject<any>;
observer: IntersectionObserver;
state: {
isIntersecting: boolean;
height: number;
width: number;
};
readonly target: any;
handleChange: (event: IntersectionObserverEntry) => void;
observe(): void;
unobserve(): void;
measure: (entries?: {
[key: string]: unknown;
contentRect: unknown;
}[] | undefined) => void;
componentDidMount(): void;
componentWillUnmount(): void;
render(): JSX.Element;
}