This web part provides you the ability to add a variable height image banner with a linkable title.
- Supported with SharePoint 2019
none
Solution | Author(s) |
---|---|
./src/webparts/banner | Elio Struyf @eliostruyf |
./source/react-banner | Eric Overfield @ericoverfield |
Version | Date | Comments |
---|---|---|
1.0 | May 2018 | Initial release |
2.0 | November 30, 2019 | SP2019 and SPO compatible |
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.
- Place the page you want to add this web part to in edit mode.
- Search for and insert the Banner web part.
- Configure the web part to update its properties.
The Banner
webpart can be configured with the following properties:
Label | Property | Type | Required | Description |
---|---|---|---|---|
Overlay image text | bannerText | string | no | The text message or title you want displayed on the banner image |
Image URL | bannerImage | string | no | The url of the banner image |
Link URL | bannerLink | string | no | The hyperlink url of the bannerText link |
Banner height | bannerHeight | number | no | Provides the fixed height of the banner image |
Enable parallax effect | useParallax | toggle | no | Enable if you want to include parallax effect on vertical scrolling |
- Clone this repository
- in the command line run:
npm install
gulp serve
Include any additional steps as needed.
Description of the web part with possible additional details than in short summary. This Web Part illustrates the following concepts on top of the SharePoint Framework:
- topic 1
- topic 2
- topic 3