42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
|
/// <reference types="es6-promise" />
|
||
|
import { Version } from '@microsoft/sp-core-library';
|
||
|
import { BaseClientSideWebPart, IPropertyPaneConfiguration, IWebPartContext } from '@microsoft/sp-webpart-base';
|
||
|
import { IPhotopileWebPartWebPartProps } from './IPhotopileWebPartWebPartProps';
|
||
|
/**
|
||
|
* @class
|
||
|
* Defines the Photopile client side web part
|
||
|
*/
|
||
|
export default class PhotopileWebPartWebPart extends BaseClientSideWebPart<IPhotopileWebPartWebPartProps> {
|
||
|
/**
|
||
|
* @var
|
||
|
* Stores the list of SharePoint Pictures library found in the current SP web
|
||
|
*/
|
||
|
private listsDropdownOptions;
|
||
|
/**
|
||
|
* @function
|
||
|
* Web Part constructor
|
||
|
*/
|
||
|
constructor(context: IWebPartContext);
|
||
|
/**
|
||
|
* @function
|
||
|
* Function called when the web part is inialized
|
||
|
*/
|
||
|
onInit<T>(): Promise<T>;
|
||
|
/**
|
||
|
* @function
|
||
|
* Renders the web part
|
||
|
*/
|
||
|
render(): void;
|
||
|
/**
|
||
|
* @function
|
||
|
* Prevent from changing the pane properties on typing
|
||
|
*/
|
||
|
protected readonly disableReactivePropertyChanges: boolean;
|
||
|
/**
|
||
|
* @function
|
||
|
* Gets the web part properties panel settings
|
||
|
*/
|
||
|
protected readonly dataVersion: Version;
|
||
|
protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration;
|
||
|
}
|