This commit is contained in:
syuilo
2018-10-14 09:47:38 +09:00
parent a72cfa7535
commit 0f8847bb74
13 changed files with 94 additions and 90 deletions

View File

@ -9,6 +9,12 @@
<button @click="resolveInitPromise">%i18n:@retry%</button>
</div>
<div class="skeleton" v-if="fetching">
<template v-for="i in 10">
<mk-note-skeleton :key="i"/>
</template>
</div>
<!-- トランジションを有効にするとなぜかメモリリークする -->
<component :is="!$store.state.device.reduceMotion ? 'transition-group' : 'div'" name="mk-notes" class="notes transition" tag="div" ref="notes">
<template v-for="(note, i) in _notes">
@ -226,6 +232,10 @@ export default Vue.extend({
> *
transition transform .3s ease, opacity .3s ease
> .skeleton
padding 32px
opacity 0.3
> .notes
> .date
display block