forked from fanruan/fineui
Kira
5 years ago
27 changed files with 101 additions and 21 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,28 @@ |
|||||||
|
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; |
||||||
|
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1,45 @@ |
|||||||
|
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; |
||||||
|
} |
Loading…
Reference in new issue