ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
38 lines (37 loc) • 1.36 kB
TypeScript
/**
* @license
* Copyright Alibaba.com All Rights Reserved.
*
* 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, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
import { BooleanInput, NgStyleInterface } from 'ng-zorro-antd/core/types';
import { NzTooltipDirective } from 'ng-zorro-antd/tooltip';
import { NzSliderService } from './slider.service';
import { NzSliderShowTooltip } from './typings';
export declare class NzSliderHandleComponent implements OnChanges {
private sliderService;
private cdr;
static ngAcceptInputType_active: BooleanInput;
handleEl: ElementRef;
tooltip: NzTooltipDirective;
vertical: string;
offset: number;
value: number;
tooltipVisible: NzSliderShowTooltip;
tooltipPlacement: string;
tooltipFormatter: (value: number) => string;
active: boolean;
tooltipTitle: string;
style: NgStyleInterface;
constructor(sliderService: NzSliderService, cdr: ChangeDetectorRef);
ngOnChanges(changes: SimpleChanges): void;
enterHandle: () => void;
leaveHandle: () => void;
focus(): void;
private toggleTooltip;
private updateTooltipTitle;
private updateTooltipPosition;
private updateStyle;
}