<template>
  <ul class="listContainerJSON object-list search-result-list">
    <result-item v-for="result in $store.state.list" 
      v-bind:key="result.id"
      :result="result"
      @detailClick="$emit('detailClick', $event)"
    >
    </result-item>
  </ul>
</template>

<script>
  import ResultItem from './ResultItem.vue'
  // import Loader from './Loader.vue'

  export default {
    // props: [
    //   "data", "lang", "loading", 'settings'
    // ],
    components: {
      'result-item': ResultItem,
      // 'loader': Loader,
    },
    data() {
      return {
      }
    },
    mounted() {
    },
    computed: {
      // resultsLoading() {
      //   return this.$store.state.items.resultsLoading;
      // },
    },
    methods: {
    },
    watch: {
      resultsLoading(to, from) {
      }
    }
  }
</script>

