@equinor/esv-intersection
Version:
Intersection component package with testing and automatic documentation.
14 lines • 614 B
TypeScript
import { Selection } from 'd3-selection';
import { Layer } from './Layer';
import { OnMountEvent, OnResizeEvent } from '../../interfaces';
export declare abstract class HTMLLayer<T> extends Layer<T> {
elm: Selection<HTMLDivElement, unknown, null, undefined> | undefined;
onMount(event: OnMountEvent): void;
onUnmount(): void;
onResize(event: OnResizeEvent): void;
setVisibility(visible: boolean): void;
onOpacityChanged(opacity: number): void;
onOrderChanged(order: number): void;
onInteractivityChanged(shouldBeInteractive: boolean): void;
}
//# sourceMappingURL=HTMLLayer.d.ts.map