ng-zorro-antd-yj
Version:
An enterprise-class UI components based on Ant Design and Angular
42 lines (41 loc) • 1.65 kB
TypeScript
import { AnimationEvent } from '@angular/animations';
import { CdkConnectedOverlay, CdkOverlayOrigin, ConnectedOverlayPositionChange, ConnectionPositionPair } from '@angular/cdk/overlay';
import { ChangeDetectorRef, EventEmitter, OnChanges, TemplateRef } from '@angular/core';
import { BehaviorSubject, Observable } from 'rxjs';
import { NzNoAnimationDirective } from '../core/no-animation/nz-no-animation.directive';
export declare class NzToolTipComponent implements OnChanges {
cdr: ChangeDetectorRef;
noAnimation?: NzNoAnimationDirective | undefined;
_hasBackdrop: boolean;
_prefix: string;
_positions: ConnectionPositionPair[];
_classMap: {};
_placement: string;
_trigger: string;
overlayOrigin: CdkOverlayOrigin;
visibleSource: BehaviorSubject<boolean>;
visible$: Observable<boolean>;
overlay: CdkConnectedOverlay;
nzTitle: string | TemplateRef<void> | null;
nzOverlayClassName: string;
nzOverlayStyle: {
[key: string]: string;
};
nzMouseEnterDelay: number;
nzMouseLeaveDelay: number;
nzVisible: boolean;
nzTrigger: string;
nzPlacement: string;
readonly nzVisibleChange: EventEmitter<boolean>;
[property: string]: any;
constructor(cdr: ChangeDetectorRef, noAnimation?: NzNoAnimationDirective | undefined);
ngOnChanges(): void;
updatePosition(): void;
onPositionChange(position: ConnectedOverlayPositionChange): void;
show(): void;
hide(): void;
_afterVisibilityAnimation(e: AnimationEvent): void;
setClassMap(): void;
setOverlayOrigin(origin: CdkOverlayOrigin): void;
protected isContentEmpty(): boolean;
}