File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
spfx/extensions/get-started Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
title : Use page placeholders from Application Customizer (Hello World part 2)
3
3
description : Extend your Hello World extension to take advantage of page placeholders by using SharePoint Framework (SPFx) Extensions.
4
- ms.date : 06/22/2020
4
+ ms.date : 06/07/2022
5
5
ms.prod : sharepoint
6
6
ms.custom : scenarios:getting-started
7
7
---
@@ -139,15 +139,14 @@ Notice that you're requesting a well-known placeholder by using the correspondin
139
139
8. Update the `onInit()` method code as follows:
140
140
141
141
```typescript
142
- @override
143
142
public onInit(): Promise<void> {
144
143
Log.info(LOG_SOURCE, `Initialized ${strings.Title}`);
145
144
146
145
// Wait for the placeholders to be created (or handle them being changed) and then
147
146
// render.
148
147
this.context.placeholderProvider.changedEvent.add(this, this._renderPlaceHolders);
149
148
150
- return Promise.resolve<void> ();
149
+ return Promise.resolve();
151
150
}
152
151
```
153
152
You can’t perform that action at this time.
0 commit comments