1.0.1 • Published 7 years ago
jspuzzle v1.0.1
Puzzlejs v1.0.1
PuzzleJS is a responsive image grid library.
To get started, check out the Puzzle website for documentation, guides, and live demos!
Download
- npm -
npm install jspuzzle
- download source from website
Quickstart
<!-- Include the puzzlejs library -->
<script src="path/to/your/js/puzzle.min.js"></script>
<!-- Create the Puzzle container -->
<div id="puzzle-root"></div>
<!-- Initialize Puzzle image grid -->
<script type="text/javascript">
var puzzle = new Puzzle({
root: "#puzzle-root",
urls: [/* ... */],
/* other options */
});
</script>