{"size": 606, "ext": "js", "max_stars_repo_path": "src/molecules/footer-menu/FooterMenu.js", "max_stars_repo_name": "SnowdogApps/alpaca-ui", "max_stars_repo_stars_event_min_datetime": "2019-04-11T23:21:52.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-29T22:34:39.000Z", "max_issues_repo_path": "src/molecules/footer-menu/FooterMenu.js", "max_issues_repo_name": "SnowdogApps/alpaca-ui", "max_issues_repo_issues_event_min_datetime": "2019-04-12T06:41:26.000Z", "max_issues_repo_issues_event_max_datetime": "2021-08-13T11:19:14.000Z", "max_forks_repo_path": "src/molecules/footer-menu/FooterMenu.js", "max_forks_repo_name": "SnowdogApps/alpaca-ui", "max_forks_repo_forks_event_min_datetime": "2019-10-12T16:56:53.000Z", "max_forks_repo_forks_event_max_datetime": "2020-01-07T01:40:44.000Z"}
{"max_stars_count": 14, "max_issues_count": 165, "max_forks_count": 4, "avg_line_length": 16.3783783784, "max_line_length": 64, "alphanum_fraction": 0.5181518152}
// @vue/component
export default {
  props: {
    /**
     * Array with menu
     */
    menu: {
      type: Array,
      default: null
    },
    /**
     * Collapse icon title
     */
    collapseIconTitle: {
      type: String,
      default: null
    }
  },
  data () {
    return {
      isLargeScreen: true
    }
  },
  mounted () {
    this.$nextTick(() => {
      const breakpoint = window.matchMedia('(min-width: 768px)')
      this.checkMedia(breakpoint)
      breakpoint.addListener(this.checkMedia)
    })
  },
  methods: {
    checkMedia (e) {
      this.isLargeScreen = e.matches
    }
  }
}
