@ownclouders/design-system
Version:
ownCloud Design System is based on VueDesign Systems and is used to design ownCloud UI components
85 lines (84 loc) • 2.12 kB
TypeScript
import { PropType } from 'vue';
/**
* Images can be displayed using this component.
*
*/
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
/**
* Image source, path to image
*
**/
src: {
required: true;
type: StringConstructor;
default: any;
};
/**
* The alt-attribute of the image.
*/
alt: {
type: StringConstructor;
required: false;
default: string;
};
/**
* The title of the image. Displayed when hover.
*/
title: {
type: StringConstructor;
required: false;
default: any;
};
/**
* Defines whether the image gets loaded immediately or once it comes near the user's viewport
*/
loadingType: {
type: PropType<"lazy" | "eager">;
required: false;
default: string;
validator: (value: string) => boolean;
};
}>, {}, {}, {
ariaHidden(): boolean;
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
/**
* Image source, path to image
*
**/
src: {
required: true;
type: StringConstructor;
default: any;
};
/**
* The alt-attribute of the image.
*/
alt: {
type: StringConstructor;
required: false;
default: string;
};
/**
* The title of the image. Displayed when hover.
*/
title: {
type: StringConstructor;
required: false;
default: any;
};
/**
* Defines whether the image gets loaded immediately or once it comes near the user's viewport
*/
loadingType: {
type: PropType<"lazy" | "eager">;
required: false;
default: string;
validator: (value: string) => boolean;
};
}>> & Readonly<{}>, {
title: string;
src: string;
alt: string;
loadingType: "lazy" | "eager";
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;