@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
25 lines • 860 B
TypeScript
export type IPageLoadPref = 'description' | 'canvasContent1' | 'tab';
export interface IPageLoadPrefChoices {
key: IPageLoadPref | IObjectFit;
text: string;
}
export declare const PageLoadPefs: IPageLoadPrefChoices[];
export type IObjectFit = 'center' | 'contain' | 'cover' | 'none' | 'center-cover' | 'center-contain';
export declare const ImageFitPrefs: IPageLoadPrefChoices[];
export interface IModernImageSettings {
height: number | string;
width: number | string;
objectFit: string;
style: string;
autoFix?: boolean;
lightBox?: boolean;
}
export interface ICanvasContentOptions {
pagePreference: IPageLoadPref;
addCkeEditToDiv?: boolean;
imageOptions?: IModernImageSettings;
h1Styles?: string;
h2Styles?: string;
h3Styles?: string;
}
//# sourceMappingURL=IModernPage.d.ts.map