@microsoft/sp-webpart-base
Version:
SharePoint Framework support for building web parts
16 lines • 751 B
TypeScript
import { MinimalWebPartHost } from './MinimalWebPartHost';
import type { ISDKs } from '../../core/ISDKs';
import type { IWebPartLoadContext } from '../../core/IWebPartManagerContext';
/**
* A webpart host that is Teams Aware.
* Can be used in cases SP-Page needs to be hosted inside of teams.
* Webparts in such a page can make use of teams information and be aware that they are hosted inside of teams.
*
* @internal
*/
export declare class TeamsAwareWebPartHost extends MinimalWebPartHost {
getAdditionalContextProperties(): Partial<ISDKs>;
getAdditionalContextPropertiesAsync(): Promise<ISDKs>;
onBeforeWebPartInitialize(options: Readonly<IWebPartLoadContext>): Promise<void>;
}
//# sourceMappingURL=TeamsAwareWebPartHost.d.ts.map