kui-vue
Version:
A lightweight desktop UI component library suitable for Vue.js 2.
43 lines (38 loc) • 945 B
TypeScript
import Vue, { VueConstructor } from "vue";
/** Select component props */
export interface SelectProps {
placeholder?: string;
/** default: default */
size?: any;
/** default: bottom-left */
placement?: any;
width?: number;
maxTagCount?: number;
value?: string | number | any[];
/** default: true */
clearable?: boolean;
filterable?: boolean;
block?: boolean;
disabled?: boolean;
multiple?: boolean;
loading?: boolean;
/** default: true */
bordered?: boolean;
/** default: true */
showArrow?: boolean;
options?: any[];
theme?: string;
emptyText?: string;
loadingText?: string;
icon?: string | any[];
shape?: string;
arrowIcon?: string | any[];
}
/** Select component instance */
export interface Select extends Vue {
$props: SelectProps;
$emit(event: string, ...args: any[]): void;
}
/** Select Vue component type */
declare const Select: VueConstructor<Select>;
export default Select;