UNPKG

@microsoft/sp-webpart-base

Version:

SharePoint Framework support for building web parts

26 lines 1.03 kB
import { ServiceKey } from '@microsoft/sp-core-library'; import type { _IConfigurableOptionsController } from '@microsoft/sp-property-pane'; /** * Loads the property pane module, asynchronously. * @internal */ export default class PropertyPaneLoader { /** * Service key to uniquely identify PropertyPaneLoader in the service scope. */ static readonly serviceKey: ServiceKey<PropertyPaneLoader>; private static readonly _propertyPaneModuleId; private _logSource; private _propertyPaneController; /** * Async property pane getter. */ get propertyPane(): Promise<_IConfigurableOptionsController>; /** * Whether the property pane controller is loaded. * For scenarios that want to do something ONLY when property pane has been loaded (e.g. Close the property pane * if the property pane is loaded and open. But do nothing if property pane has not even been loaded) */ get isLoaded(): boolean | undefined; } //# sourceMappingURL=PropertyPaneLoader.d.ts.map