iview/types/avatar.d.ts

34 lines
808 B
TypeScript
Raw Normal View History

2019-08-27 09:42:40 +08:00
// Type definitions for iview 3.3.1
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
export declare class Avatar extends Vue {
/**
* circlesquare
* @default circle
*/
shape?: 'circle' | 'square';
/**
* largesmalldefault
* @default default
*/
size?: 'large'|'small'|'default';
/**
*
*/
src?: string;
/**
* Icon
*/
icon?: string;
/**
*
*/
'custom-icon'?: string;
/**
* src
*/
$emit(eventName: 'on-error', event: Event): this;
}