src_js/iconolab-bundle/src/components/collectionhome/descriptionviewer/DescriptionViewer.vue
author Alexandre Segura <mex.zktk@gmail.com>
Wed, 15 Feb 2017 16:42:06 +0100
changeset 320 81945eedc63f
parent 212 1c7cce196665
permissions -rw-r--r--
Introduce refactored components using Vue.js.

<script>
export default {
      data: {
        
      },
      mounted() {
          $(".collection-description-complete").hide();
      },
      methods: {
          showCompleteDescription: function(){
              $(".collection-description").hide()
              $(".collection-description-complete").show()
          },
          hideCompleteDescription: function(name){
              $(".collection-description-complete").hide()
              $(".collection-description").show()
          }
      },
}
</script>