iview/types/rate.d.ts

54 lines
1,013 B
TypeScript
Raw Normal View History

2018-08-31 18:04:17 +08:00
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
2018-08-31 18:04:17 +08:00
import Vue,{ VNode } from 'vue';
2018-08-30 13:27:15 +08:00
export declare class Rate extends Vue {
/**
* star总数
* @default 5
*/
count?: number;
/**
* star 使 v-model
* @default 0
*/
value?: number;
/**
*
* @default false
*/
'allow-half'?: boolean;
/**
*
* @default false
*/
disabled?: boolean;
/**
*
* @default false
*/
'show-text'?: boolean;
/**
*
* @default false
*/
clearable?: boolean;
/**
*
*/
character?: string;
/**
* 使
*/
icon?: string;
/**
* 使
*/
'custom-icon'?: string;
/**
*
*/
$emit(eventName: 'on-change', value: number): this;
}