@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
25 lines • 1.31 kB
TypeScript
import { IFPSWindowProps, IFPSPage } from './IFPSWindowProps';
import { IFPSSection, IFPSSectionStyle } from './IFPSSection';
/**
* The purpose of this file is to establish a node in the dom to store all current page variables that can easily be seen and updated by any FPS Webpart
*/
export declare function webpartInstance(str: string): string;
/**
* Creates default pageStyles object for window.FPSOptions
*/
export declare function initializeFPSPage(wpInstanceID: any, doThis: boolean | null, fpsPageStyle: string | null, fpsPageArray: any[]): IFPSPage;
export declare function initializeFPSSection(wpInstanceID: any, maxWidth?: any, marginTB?: any): IFPSSection;
/**
* initializeToolbar usage:
* initializeToolbar( 'Hide Toolbar', wpInstanceID, 'display', this.properties.togglevalue )
* @param title
* @param wpInstanceID
* @param cssProp
* @param value
*/
export declare function initializeMinimalStyle(title: string, wpInstanceID: any, cssProp: string, value?: any): IFPSSectionStyle;
export declare const defWpInstanceID = "window";
export declare const defHideQuicklaunchTitle = "Hide Quick Launch";
export declare const defToolBarTitle = "Hide Toolbar";
export declare function createFPSWindowProps(): IFPSWindowProps;
//# sourceMappingURL=FPSDocument.d.ts.map