fineui是帆软报表和BI产品线所使用的前端框架。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
976 B

import { Widget } from "../../core/widget";
5 years ago
interface SingleOpt {
container?: any;
belowMouse?: boolean;
}
export declare class Single extends Widget {
props: {
readonly: boolean;
title: string | (() => string) | null;
warningTitle: string | (() => string) | null;
tipType: "success" | "warning";
value: string | null;
/**
* title是否跟随鼠标
* @default false
*/
belowMouse: boolean;
};
_showToolTip(e: Event, opt?: SingleOpt): void;
_hideTooltip(): void;
_clearTimeOut(): void;
enableHover(opt?: SingleOpt): void;
disabledHover(): void;
setTitle(title: string | Function, opt?: SingleOpt): void;
setWarningTitle(title: string, opt?: SingleOpt): void;
setTipType(v: string): void;
getTipType(): string;
isReadOnly(): boolean;
getTitle(): string;
getWarningTitle(): string;
populate(..._args: any[]): void;
}
5 years ago
export {};