You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5. Install the `@microsoft/sp-office-ui-fabric-core` package to enable importing from SPFabricCore.scss
96
104
97
-
5. In the **HelloWorldApplicationCustomizer.ts** file, update the **IHelloWorldApplicationCustomizerProperties** interface to add specific properties for Header and Footer, as follows.
105
+
```
106
+
npm install @microsoft/sp-office-ui-fabric-core
107
+
```
98
108
99
-
> [!NOTE]
100
-
> If your Command Set uses the ClientSideComponentProperties JSON input, it is deserialized into the `BaseExtension.properties` object. You can define an interface to describe it.
6. In the **HelloWorldApplicationCustomizer.ts** file, update the **IHelloWorldApplicationCustomizerProperties** interface to add specific properties for Header and Footer, as follows.
108
111
109
-
6. Add the following private variables inside the **HelloWorldApplicationCustomizer** class. In this scenario, these can just be local variables in an `onRender` method, but if you want to share them with other objects, define them as private variables.
112
+
> [!NOTE]
113
+
> If your Command Set uses the ClientSideComponentProperties JSON input, it is deserialized into the `BaseExtension.properties` object. You can define an interface to describe it.
110
114
111
-
```typescript
112
-
export default class HelloWorldApplicationCustomizer
7. Add the following private variables inside the **HelloWorldApplicationCustomizer** class. In this scenario, these can just be local variables in an `onRender` method, but if you want to share them with other objects, define them as private variables.
@@ -214,7 +227,7 @@ Notice that you're requesting a well-known placeholder by using the correspondin
214
227
* Notice that the code path for both the top and bottom placeholders is almost identical. The only differences are the variables used and the style definitions.
215
228
* It is possible to use the class names defined in the style sheet directly but it is not recommended. In case no style sheet reference defined in the ```styles``` variable is found in the code, the style sheet won't get added to the page. This is because unused references will get removed during bild process.
216
229
217
-
9. Add the following method after the `_renderPlaceHolders` method. In this case, you simply output a console message when the extension is removed from the page.
230
+
10. Add the following method after the `_renderPlaceHolders` method. In this case, you simply output a console message when the extension is removed from the page.
0 commit comments