UNPKG

@ngneat/helipopper

Version:

A Powerful Tooltip and Popover for Angular Applications

14 lines (13 loc) 822 B
import { Observable } from 'rxjs'; import type { TippyElement } from '@ngneat/helipopper/config'; export declare const enum TippyErrorCode { TippyNotProvided = 1 } export declare function inView(host: TippyElement, options?: IntersectionObserverInit): Observable<unknown>; export declare function isElementOverflow(host: HTMLElement): boolean; export declare function overflowChanges(host: TippyElement): Observable<boolean>; export declare function dimensionsChanges(target: HTMLElement): Observable<boolean>; export declare function onlyTippyProps(allProps: any): any; export declare function normalizeClassName(className: string | string[]): string[]; export declare function coerceCssPixelValue<T>(value: T): string; export declare function observeVisibility(host: Element, hiddenHandler: () => void): () => void;