sp-dev-fx-webparts/samples/react-side-panel
VesaJuvonen 7a79c47104 Removing unnecessary office product from the sample metadata 2021-12-10 19:55:32 +02:00
..
assets Removing unnecessary office product from the sample metadata 2021-12-10 19:55:32 +02:00
config React side panel (#205) 2017-05-12 18:08:19 +03:00
src/webparts/sidePanel Support of both Fabric < 6.0.0 and 6.0.0 (#206) 2017-05-15 10:30:05 +03:00
typings React side panel (#205) 2017-05-12 18:08:19 +03:00
.editorconfig React side panel (#205) 2017-05-12 18:08:19 +03:00
.gitattributes React side panel (#205) 2017-05-12 18:08:19 +03:00
.gitignore React side panel (#205) 2017-05-12 18:08:19 +03:00
.npmignore React side panel (#205) 2017-05-12 18:08:19 +03:00
.yo-rc.json React side panel (#205) 2017-05-12 18:08:19 +03:00
README.md Updated legacy compatiblity matrix 2021-11-07 01:33:53 -05:00
gulpfile.js React side panel (#205) 2017-05-12 18:08:19 +03:00
package.json React side panel (#205) 2017-05-12 18:08:19 +03:00
tsconfig.json React side panel (#205) 2017-05-12 18:08:19 +03:00
tslint.json Add tslint at the root of each SPFx project (#394) 2018-01-08 15:58:48 +02:00

README.md

page_type products languages extensions
sample
office-sp
javascript
typescript
contentType technologies platforms createdDate
samples
SharePoint Framework
react
6/1/2017 12:00:00 AM

Side Panel

Summary

The web part illustrates creation and usage of Side Panel (Sidebar) control.

React Side Panel Client-Side Web Part

Compatibility

SPFx 1.0.0 Node.js v6 Compatible with SharePoint Online Compatible SharePoint 2019 Compatible with SharePoint 2016 (Feature Pack 2) Local Workbench Compatible Hosted Workbench Compatible

Applies to

Solution

Solution Author(s)
react-side-panel Alex Terentiev (Sharepointalist Inc., AJIXuMuK)

Version history

Version Date Comments
1.0 May 11, 2017 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

Features

Sample features:

  • ability to add controls outside web part markup (thanks to Layout component)
  • usage of Office UI Fabric React (Layout, ImageButton)
  • CSS transition animations

Control features:

  • left or right positioning
  • usage of this.props.children for content

Resources

Building the code

git clone the repo
npm i
npm i -g gulp
gulp

This package produces the following:

  • lib/* - intermediate-stage commonjs build artifacts
  • dist/* - the bundled script, along with other resources
  • deploy/* - all resources which should be uploaded to a CDN.