2019-01-01 04:13:51 +00: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
|
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
import { AntdComponent } from '../component';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
export declare class Option extends AntdComponent {
|
2020-08-18 02:12:57 +00:00
|
|
|
$props: {
|
|
|
|
/**
|
|
|
|
* Disable this option
|
|
|
|
* @default false
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
disabled?: boolean;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-18 02:12:57 +00:00
|
|
|
/**
|
|
|
|
* Same usage as value. If Vue request you to set this property, you can set it to value of option, and then omit value property.
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
key?: string;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-18 02:12:57 +00:00
|
|
|
/**
|
|
|
|
* title of Select after select this Option
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
title?: string;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-18 02:12:57 +00:00
|
|
|
/**
|
|
|
|
* default to filter with this property
|
|
|
|
* @type string | number
|
|
|
|
*/
|
|
|
|
value?: string | number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* additional class to option
|
|
|
|
* @type string
|
|
|
|
*/
|
|
|
|
class?: string;
|
|
|
|
}
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
}
|