@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
44 lines (43 loc) • 1.12 kB
TypeScript
import { TsxAllowUnknowProperties } from "../";
import { MediaPickerImage } from "../../models";
export interface IMediaPickerImage {
/** The image to render*/
image: MediaPickerImage;
imageStyle?: string | object | object[];
/**
* This is set when saved in html, i.e. the attribute. Should be json of MediaPickerImage
* */
imagedata?: string;
/**
* The ratio to use for the image
* */
imageRatioId?: number;
/**
* The scaling to use for the image
* */
scalingId?: number;
/**
* Specify if image is contain or cover
*/
contain?: boolean;
avatar?: {
size: number;
};
displayVSlot?: boolean;
containerClass?: string;
showCaption?: boolean;
inlineMediaNodeDisplayData?: string;
}
declare global {
namespace VueTsxSupport.JSX {
interface Element {
}
interface ElementClass {
}
interface ElementAttributesProperty {
}
interface IntrinsicElements {
"omfx-media-picker-image": TsxAllowUnknowProperties<IMediaPickerImage>;
}
}
}