From de479dd42130d67fb15f32beb99bec29b356792a Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 4 Aug 2020 21:28:56 +0530 Subject: added animations --- app/static/js/missing_puzzle.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/static/js/missing_puzzle.js (limited to 'app/static/js/missing_puzzle.js') diff --git a/app/static/js/missing_puzzle.js b/app/static/js/missing_puzzle.js new file mode 100644 index 0000000..a89ad92 --- /dev/null +++ b/app/static/js/missing_puzzle.js @@ -0,0 +1,10 @@ +var animation = bodymovin.loadAnimation({ + container: document.getElementById('puzzle'), + + renderer: 'svg', + loop: true, + autoplay: true, + path: "static/js/Puzzle.json" + + // Make sure your path has the same filename as your animated SVG's JSON file // + }) \ No newline at end of file -- cgit v1.2.3