iview/types/avatar.d.ts

34 lines
812 B
TypeScript
Raw Normal View History

2019-03-12 11:30:07 +08:00
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
2019-01-05 22:29:10 +08:00
import Vue from 'vue';
export declare interface Avatar extends Vue {
/**
* circlesquare
* @default circle
*/
shape?: 'circle' | 'square';
/**
* largesmalldefault
* @default default
*/
size?: 'large'|'small'|'default';
/**
*
*/
src?: string;
/**
* Icon
*/
icon?: string;
/**
*
*/
'custom-icon'?: string;
2019-03-12 11:30:07 +08:00
/**
* src
*/
$emit(eventName: 'on-error', event: Event): this;
}