cinema/movie-container.riot

20 lines
400 B
Plaintext
Raw Normal View History

2022-04-02 12:00:24 +02:00
<movie-container>
<div class="movie-container">
<movie each={ movie in props.movieList } class="movie-block" movie={movie}></movie>
</div>
<script>
export default {
onBeforeMount (props,state) {
2022-04-03 01:58:58 +02:00
console.log(props);
2022-04-02 12:00:24 +02:00
},
2022-04-03 01:58:58 +02:00
onMounted() {
console.log(this.props);
}
2022-04-02 12:00:24 +02:00
}
</script>
</movie-container>