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.

77 lines
1.4 KiB

import { Single } from "../single";
export declare class BasicButton extends Single {
static EVENT_CHANGE: string;
static xtype: string;
props: {
stopEvent?: boolean;
stopPropagation?: boolean;
selected?: boolean;
/**
* ,
*/
once?: boolean;
/**
* , ,once的区别是forceSelected不影响事件的触发
*/
forceSelected?: boolean;
/**
*
*/
forceNotSelected?: boolean;
/**
* 使
*/
disableSelected?: boolean;
shadow?: boolean;
/**
*
*/
isShadowShowingOnSelected?: boolean;
trigger?: string | null;
handler?: Function;
bubble?: Function | null | string;
} & Single['props'];
_createShadow(): void;
bindEvent(): void;
_trigger(e: Event): void;
_doClick(e: Event): void;
beforeClick(): void;
doClick(): void;
handle(): BasicButton;
hover(): void;
dishover(): void;
setSelected(b: boolean): void;
isSelected(): boolean;
isOnce(): boolean;
isForceSelected(): boolean;
isForceNotSelected(): boolean;
isDisableSelected(): boolean;
setText(v: string): void;
getText(): string;
}