@ngneat/helipopper
Version:
A Powerful Tooltip and Popover for Angular Applications
17 lines (16 loc) • 719 B
TypeScript
import { type Observable } from 'rxjs';
import { type TippyProps } from '@ngneat/helipopper/config';
import * as i0 from "@angular/core";
export declare class TippyFactory {
private readonly _ngZone;
private readonly _loader;
private _tippyImpl$;
/**
* This returns an observable because the user should provide a `loader`
* function, which may return a promise if the tippy.js library is to be
* loaded asynchronously.
*/
create(target: HTMLElement, props?: Partial<TippyProps>): Observable<import("tippy.js").Instance<import("tippy.js").Props>>;
static ɵfac: i0.ɵɵFactoryDeclaration<TippyFactory, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TippyFactory>;
}