ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
37 lines (36 loc) • 1.87 kB
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { ChangeDetectorRef, ComponentFactory, ComponentFactoryResolver, ElementRef, EventEmitter, Renderer2, ViewContainerRef } from '@angular/core';
import { NzPresetColor } from 'ng-zorro-antd/core/color';
import { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';
import { NgStyleInterface, NzTSType } from 'ng-zorro-antd/core/types';
import { Directionality } from '@angular/cdk/bidi';
import { NzTooltipBaseComponent, NzTooltipBaseDirective, NzTooltipTrigger, PropertyMapping } from './base';
export declare class NzTooltipDirective extends NzTooltipBaseDirective {
title?: NzTSType | null;
directiveTitle?: NzTSType | null;
trigger?: NzTooltipTrigger;
placement?: string | string[];
origin?: ElementRef<HTMLElement>;
visible?: boolean;
mouseEnterDelay?: number;
mouseLeaveDelay?: number;
overlayClassName?: string;
overlayStyle?: NgStyleInterface;
nzTooltipColor?: string;
readonly visibleChange: EventEmitter<boolean>;
componentFactory: ComponentFactory<NzToolTipComponent>;
constructor(elementRef: ElementRef, hostView: ViewContainerRef, resolver: ComponentFactoryResolver, renderer: Renderer2, noAnimation?: NzNoAnimationDirective);
protected getProxyPropertyMap(): PropertyMapping;
}
export declare class NzToolTipComponent extends NzTooltipBaseComponent {
noAnimation?: NzNoAnimationDirective | undefined;
nzTitle: NzTSType | null;
nzColor?: string | NzPresetColor;
_contentStyleMap: NgStyleInterface;
constructor(cdr: ChangeDetectorRef, directionality: Directionality, noAnimation?: NzNoAnimationDirective | undefined);
protected isEmpty(): boolean;
updateStyles(): void;
}