BaseApplicationContext class
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Context object for a client-side applications.
- Extends
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the BaseApplicationContext class.
Properties
| chrome | The application page chrome |
| load |
The application load type |
| navigator | The application navigator |
| prefetched |
An event that gets fired when the application prefetched data is available. |
| preloaded |
The preloaded data used by SPFx |
| suite |
The SuiteNav manager |
Property Details
chrome
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The application page chrome
get chrome(): _ISPPageChrome | undefined;
Property Value
@msinternal/sp-page-chrome!default:interface | undefined
loadType
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The application load type
get loadType(): ApplicationLoadType;
Property Value
navigator
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The application navigator
get navigator(): Navigator | undefined;
Property Value
@microsoft/sp-application-base!_Navigator:class | undefined
prefetchedDataEvent
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
An event that gets fired when the application prefetched data is available.
get prefetchedDataEvent(): SPEvent<PrefetchedDataEventArgs>;
Property Value
SPEvent<@microsoft/sp-application-base!_PrefetchedDataEventArgs:class>
preloadedData
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The preloaded data used by SPFx
get preloadedData(): _IPreloadedData;
Property Value
suiteNavManager
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The SuiteNav manager
get suiteNavManager(): ISuiteNavManager | undefined;
Property Value
@msinternal/sp-suite-nav!ISuiteNavManager:interface | undefined
Remarks
The SuiteNav manager is defined only after the application starts rendering. Chromeless application do not have a SuiteNav manager. Applications that disable the suiteNav do not have a SuiteNav manager.