Properties
Optional
envType
envType?: number
Optional
onConfigFormDisplaying
onConfigFormDisplaying?: ((wpCfg?) => void)
Type declaration
-
- (wpCfg?): void
-
Returns void
Optional
onConfigFormFooterRendering
Optional
onConfigFormRendered
onConfigFormRendered?: ((form, wpCfg?) => void)
Type declaration
-
- (form, wpCfg?): void
-
Returns void
Optional
onConfigFormRendering
onConfigFormRendering?: ((props,
wpCfg?) => IFormProps)
Optional
onConfigSaved
onConfigSaved?: ((wpCfg?) => void)
Type declaration
-
- (wpCfg?): void
-
Returns void
Optional
onModalRendered
onModalRendered?: ((modal) => void)
Type declaration
-
- (modal): void
-
Returns void
Optional
onModalRendering
onModalRendering?: ((props) => IModalProps<HTMLElement>)
Optional
render
render?: ((el?, cfg?) => void)
Type declaration
-
- (el?, cfg?): void
-
Returns void
Optional
renderEdit
renderEdit?: ((el?, cfg?) => void)
Type declaration
-
- (el?, cfg?): void
-
Returns void
Optional
spfx
spfx?: {
context: {
domElement: HTMLElement;
graphHttpClient: any;
host: any;
httpClient: any;
instanceId: string;
itemId?: number;
list?: {
title: string;
};
manifest: {
alias: string;
componentType: string;
id: string;
loaderConfig: any;
manifestVersion: number;
requiresCustomScript: boolean;
supportedHosts: string[];
supportsThemeVariants: boolean;
version: string;
};
pageContext: any;
propertyPane: any;
serviceScope: any;
spHttpClient: any;
statusRenderer: any;
webPartTag: string;
};
dataVersion: any;
description: string;
displayMode: number;
domElement: HTMLElement;
formClosed?: (() => void);
formSaved?: (() => void);
getPropertyPaneConfiguration: any;
instanceId: string;
isRenderAsync: boolean;
previewImageUrl: string;
properties: any;
propertiesMetadata: any;
title: string;
width: number;
}
Type declaration
-
context: {
domElement: HTMLElement;
graphHttpClient: any;
host: any;
httpClient: any;
instanceId: string;
itemId?: number;
list?: {
title: string;
};
manifest: {
alias: string;
componentType: string;
id: string;
loaderConfig: any;
manifestVersion: number;
requiresCustomScript: boolean;
supportedHosts: string[];
supportsThemeVariants: boolean;
version: string;
};
pageContext: any;
propertyPane: any;
serviceScope: any;
spHttpClient: any;
statusRenderer: any;
webPartTag: string;
}
-
domElement: HTMLElement
-
graphHttpClient: any
-
host: any
-
httpClient: any
-
instanceId: string
-
Optional
itemId?: number
-
Optional
list?: {
title: string;
}
-
manifest: {
alias: string;
componentType: string;
id: string;
loaderConfig: any;
manifestVersion: number;
requiresCustomScript: boolean;
supportedHosts: string[];
supportsThemeVariants: boolean;
version: string;
}
-
alias: string
-
componentType: string
-
id: string
-
loaderConfig: any
-
manifestVersion: number
-
requiresCustomScript: boolean
-
supportedHosts: string[]
-
supportsThemeVariants: boolean
-
version: string
-
pageContext: any
-
propertyPane: any
-
serviceScope: any
-
spHttpClient: any
-
statusRenderer: any
-
webPartTag: string
-
dataVersion: any
-
description: string
-
displayMode: number
-
domElement: HTMLElement
-
Optional
formClosed?: (() => void)
-
Optional
formSaved?: (() => void)
-
getPropertyPaneConfiguration: any
-
instanceId: string
-
isRenderAsync: boolean
-
previewImageUrl: string
-
properties: any
-
propertiesMetadata: any
-
title: string
-
width: number
SPFx WebPart Properties