2019-01-01 12:13:51 +08:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
|
|
|
import { AntdComponent } from "../component";
|
|
|
|
|
|
|
|
export declare class CheckboxGroup extends AntdComponent {
|
|
|
|
/**
|
|
|
|
* Default selected value
|
|
|
|
* @type string[]
|
|
|
|
*/
|
|
|
|
defaultValue: string[];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Disable all checkboxes
|
|
|
|
* @default false
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
disabled: boolean;
|
|
|
|
|
|
|
|
/**
|
2019-01-02 20:22:45 +08:00
|
|
|
* Specifies options, you can customize `label` with slot = "label" slot-scope = "option"
|
2019-01-01 12:13:51 +08:00
|
|
|
* @type Array<string | { label: string, value: string, disabled?: boolean, onChange?: Function }>
|
|
|
|
*/
|
|
|
|
options: Array<
|
|
|
|
| string
|
|
|
|
| { label: string; value: string; disabled?: boolean; onChange?: Function }
|
|
|
|
>;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Used for setting the currently selected value.
|
|
|
|
* @type string[]
|
|
|
|
*/
|
|
|
|
value: string[];
|
|
|
|
}
|