mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-19 19:37:22 +00:00
update Docs Flight Tracker
This commit is contained in:
parent
db47b164b9
commit
b6f459dd43
@ -9,7 +9,7 @@ The SPFx use external API (https://aerodatabox.p.rapidapi.com/flights/number/) t
|
||||

|
||||

|
||||
|
||||
React-
|
||||
|
||||
|
||||

|
||||

|
||||
@ -28,13 +28,7 @@ React-
|
||||
|
||||
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/o365devprogram)
|
||||
|
||||
|
||||
## Applies to
|
||||
|
||||
- [SharePoint Framework](https://aka.ms/spfx)
|
||||
- [Microsoft 365 tenant](https://learn.microsoft.com/sharepoint/dev/spfx/set-up-your-developer-tenant)
|
||||
|
||||
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/o365devprogram)
|
||||
|
||||
|
||||
## Solution
|
||||
|
||||
@ -59,13 +53,7 @@ Version|Date|Comments
|
||||
- `gulp bundle --ship`
|
||||
- `gulp package-solution --ship`
|
||||
- Browse to your SharePoint app catalog and load the SPFx package.
|
||||
- Browse to your SharePoint Admin Center and under advanced you will need to open Api Access and allow the requests for Microsoft Graph.
|
||||
- If you have the APIs permissions already allowed you can follow the below steps.
|
||||
|
||||
- in the command line run:
|
||||
*`npm install`
|
||||
* `gulp serve --nobrowser`
|
||||
- browse to your hosted workbench [https://YOURTENANT.sharepoint.com/sites/_layouts/15/workbench.aspx](https://YOURTENANT.sharepoint.com/sites/_layouts/15/workbench.aspx) and add the adaptive card extension.
|
||||
|
||||
|
||||
## Features
|
||||
|
||||
|
@ -33,7 +33,6 @@ export interface IFlightTrackerWebPartProps {
|
||||
displayMode: DisplayMode;
|
||||
updateProperty: (value: string) => void;
|
||||
numberItemsPerPage: number;
|
||||
|
||||
}
|
||||
|
||||
export default class FlightTrackerWebPart extends BaseClientSideWebPart<IFlightTrackerWebPartProps> {
|
||||
@ -70,7 +69,6 @@ export default class FlightTrackerWebPart extends BaseClientSideWebPart<IFlightT
|
||||
}
|
||||
|
||||
protected onAfterResize(newWidth: number): void {
|
||||
console.log("onAfterResize", newWidth);
|
||||
this.containerWidth = newWidth;
|
||||
this.render();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user