sp-dev-fx-webparts/samples/react-webpartdetails/README.md

34 lines
1.1 KiB
Markdown
Raw Normal View History

2020-06-12 08:28:38 -04:00
### React Webpart Details
## Summary
2020-06-12 08:34:27 -04:00
The web part illustrates how to get all the webpart present in the current page,bind them in a multiselect dropdown.
2020-06-12 08:28:38 -04:00
On selecting the webpart title from the dropdown, it will be hidden. You can use this sample to as per the requirement.
2020-06-12 08:28:38 -04:00
![React webpart Details](./assets/webpartDetails.png)
2020-06-12 08:34:27 -04:00
Note: This sample will not work in workbench as it loads the webpart from current page and will not work for workbench.aspx. To test locally, build the development package (using `gulp bundle` and `gulp package-solution`) and test it using `gulp serve`.
2020-06-12 08:28:38 -04:00
## Used SharePoint Framework Version
SPFx 1.10.0
## Applies to
* [SharePoint Framework](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview)
## Solution
Solution|Author(s)
--------|---------
React-webpartdetails| Harsha Vardhini ([@harshagracy](https://twitter.com/harshagracy) / [Harsha's Blog](https://harshagracy.com/))
## Version history
Version|Date|Comments
-------|----|--------
1.0|June 12, 2020|Initial release
2020-06-12 08:34:27 -04:00
## Minimal Path to Awesome
2020-06-12 08:34:27 -04:00
- Clone this repository
- in the command line run:
- `npm install`
- `gulp serve`