@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
17 lines (16 loc) • 899 B
TypeScript
import { IPropertyPaneDropdownOption } from '@microsoft/sp-property-pane';
import { ImageFit, ImageCoverStyle } from 'office-ui-fabric-react/lib/Image';
import { IImageFit, IImageCover, IImageTarget, IImageZoom } from './Types';
export declare class ImageOptionsGroup {
imgFitChoices: IPropertyPaneDropdownOption[];
getImgFit(findMe: IImageFit): ImageFit;
imgCoverChoices: IPropertyPaneDropdownOption[];
getImgCover(findMe: IImageCover): ImageCoverStyle;
imgTargetChoices: IPropertyPaneDropdownOption[];
imgTargetChoicesAll: IPropertyPaneDropdownOption[];
getTarget(findMe: IImageTarget): "_self" | "_blank" | "_parent" | "_top";
hoverZoomChoices: IPropertyPaneDropdownOption[];
hoverZoomChoicesAll: IPropertyPaneDropdownOption[];
getHoverZoom(findMe: IImageZoom): 0 | 1 | 1.2 | 1.1;
}
export declare let imageOptionsGroup: ImageOptionsGroup;