forked from fanruan/fineui
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.
28 lines
869 B
28 lines
869 B
import { _Widget } from "../../core/widget"; |
|
export interface _ButtonGroup extends _Widget { |
|
prependItems(items: any): void; |
|
addItems(items: any): void; |
|
removeItemAt(indexes: any): void; |
|
removeItems(values: any): void; |
|
populate(items?: any): void; |
|
setNotSelectedValue(v: any): void; |
|
getNotSelectedValue(): []; |
|
setEnabledValue(v: any): void; |
|
getAllButtons(): []; |
|
getAllLeaves(): []; |
|
getSelectedButtons(): []; |
|
getNotSelectedButtons(): []; |
|
getIndexByValue(value: any): number; |
|
getNodeById(id: any): _Widget; |
|
getNodeByValue(value: any): _Widget; |
|
} |
|
export interface _ButtonGroupChooseType { |
|
CHOOSE_TYPE_SINGLE: number; |
|
CHOOSE_TYPE_MULTI: number; |
|
CHOOSE_TYPE_ALL: number; |
|
CHOOSE_TYPE_NONE: number; |
|
CHOOSE_TYPE_DEFAULT: number; |
|
} |
|
export interface _ButtonGroupStatic { |
|
EVENT_CHANGE: string; |
|
}
|
|
|