Feature: Implements FadeIn and Fadeout for specified pin

This commit is contained in:
winkidney
2019-02-25 19:06:52 +08:00
committed by Isaac Bythewood
parent 6318500594
commit 01bac724d6
7 changed files with 34 additions and 19 deletions

View File

@@ -6,6 +6,20 @@ function fetchPins(offset) {
return axios.get(apiUrl)
}
Vue.component('pin', {
data: function () {
return {'loaded': false}
},
props: ['pin'],
template: '#pin-template',
methods: {
onImageLoad: function () {
this.loaded = true;
}
}
});
var app = new Vue({
el: '#app',
components: {