Movie title also gets a loading placeholder before we get a respons. (Loadingplaceholder are grey pulsing bars that indicate where content is going to load)
This commit is contained in:
@@ -20,7 +20,8 @@
|
|||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<div class="movie__title">
|
<div class="movie__title">
|
||||||
<h1>{{ title }}</h1>
|
<h1 v-if="movie">{{ movie.title }}</h1>
|
||||||
|
<loading-placeholder v-else :count="1" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user