misterymyra_collaboration-19

by Admiral Potato

HTML

<script src="https://unpkg.com/vue-perfectlooper"></script>
<link rel="stylesheet" href="https://admiralpotato.github.io/vue-perfectlooper/demo.css">
<div id="app" class="container">
	<div v-for="item in setList">
		<h2>{{item.id}}</h2>
		<vue-perfectlooper v-bind="item"></vue-perfectlooper>
	</div>
</div>

JavaScript

Vue.component('vue-perfectlooper', VuePerfectlooper);
let base = 'http://root.nuclearpixel.com/animation_frames/misterymyra_collaboration/';
new Vue({
	el: '#app',
	data: {
		setList: [
			{
				"id": "19-a-comp_a",
				"poster": base + "19-a-comp_a/0001.png",
				"src": base + "19-a-comp_a",
				"frames": 48,
				"suffix": ".png"
			},
			{
				"id": "19-b-comp_a",
				"poster": base + "19-b-comp_a/0001.png",
				"src": base + "19-b-comp_a",
				"frames": 48,
				"suffix": ".png"
			},
		]
	}
});