-
Notifications
You must be signed in to change notification settings - Fork 277
Simple Carousel
Note: The SharePoint Framework is currently in preview and is subject to change. SharePoint Framework client-side web parts are not currently supported for use in production environments.
The simple carousel Web Part renders a simple images pixs slideshow. This web part usesunitegallery.js (a popular jquery script) as a client side web part for SharePoint. This web part uses also the Custom Fields library to enhance the web part edition experience. This web part is able to query a SharePoint Picture Library to find the images and render it as a carousel.
You can configure the following Web Part settings:
- Query: you must select a current web picture library and select order by conditions
- Enable Arrows: enable arrows onslider element
- Enable Icons: enable icons in mouseover mode
- Enable Border: enable border of the tile
- Tile Width: tile width
- Tile Height: tile height
- Border Color: tile border color
- Border: tile border width
- Pause On Mouseover: true,false - pause on mouseover when playing slideshow true/false
- Autoplay: true / false - begin slideshow autoplay on start
- Speed: play interval of the slideshow
- Text Panel Enable: enable textpanel
- Text Panel Always On Top: textpanel always visible
- Text Panel Opacity: textpanel background opacity
- Text Panel Font: textpanel title font family. if null - take from css
- Text Panel Font Size: textpanel title font size. if null - take from css
- Text Panel Font Color: textpanel title color. if null - take from css
- Text Panel Background Color: textpanel background color
Click here to access to the Installation Process. You can install and test this web part without compiling the code by following this procedure.
https://github.com/OlivierCC/spfx-40-fantastics/tree/master/src/webparts/simpleCarousel
- Clone this repository
- in the command line run:
npm install
gulp serve
Version | Date | Comments |
---|---|---|
1.0 | October 2016 | Initial release |
Solution | Author(s) |
---|---|
spfx-40-fantastics | Olivier Carpentier (@olivierc) |
Copyright (c) 2016 Olivier Carpentier
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.