<template>
  <div>
    <pdf></pdf>
    <pdf-controller></pdf-controller>
  </div>
</template>

<script>
import Pdf from "./Pdf.vue";
import PdfController from "./PdfController.vue";

export default {
  components: { PdfController, Pdf },
  props: ["src", "discussion"],
  data () {
    return {
      currentPage: 1,
      fullSize: !this.discussion
    };
  },
  watch: {
    discussion (newValue) {
      this.fullSize = !newValue;
    }
  }
};
</script>

<style>
</style>
