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.
75 lines
1.2 KiB
75 lines
1.2 KiB
// 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 Rate extends AntdComponent {
|
|
/**
|
|
* whether to allow clear when click again
|
|
* @default true
|
|
* @type boolean
|
|
*/
|
|
allowClear: boolean;
|
|
|
|
/**
|
|
* whether to allow semi selection
|
|
* @default false
|
|
* @type boolean
|
|
*/
|
|
allowHalf: boolean;
|
|
|
|
/**
|
|
* get focus when component mounted
|
|
* @default false
|
|
* @type boolean
|
|
*/
|
|
autofocus: boolean;
|
|
|
|
/**
|
|
* custom character of rate
|
|
* @default <StarOutlined />
|
|
* @type any (String or slot="character")
|
|
*/
|
|
character: any;
|
|
|
|
/**
|
|
* star count
|
|
* @default 5
|
|
* @type number
|
|
*/
|
|
count: number;
|
|
|
|
/**
|
|
* default value
|
|
* @default 0
|
|
* @type number
|
|
*/
|
|
defaultValue: number;
|
|
|
|
/**
|
|
* read only, unable to interact
|
|
* @default false
|
|
* @type boolean
|
|
*/
|
|
disabled: boolean;
|
|
|
|
/**
|
|
* current value
|
|
* @type number
|
|
*/
|
|
value: number;
|
|
|
|
tooltips: Array<string>;
|
|
|
|
/**
|
|
* remove focus
|
|
*/
|
|
blur(): void;
|
|
|
|
/**
|
|
* get focus
|
|
*/
|
|
focus(): void;
|
|
}
|