1.3.4 • Published 6 years ago
jquery-canvas-presentation v1.3.4
jquery-canvas-presentation
Simple Jquery canvas presentation plugin
Usage
$(canvas).createPresentation(config, (err) => {});
var config = {
prevButton: DOM element for previous button functionality
nextButton: DOM element for next button functionality
presentationLenght: quantity of images
firstImagePath: path to the first .svg image
(all images should be located in ${imagePath}${imageName}-${imageNumber}.svg, numbers should be incremented from first image number)
or
directory: path to directory with slides
it will use default template for slide names, which is 'slide-[1-presLength].svg'
you can provide custom template with 'slideTemplate' parameter, which should match '/.*\d+\.svg/'
}