src_js/iconolab-bundle/src/components/collectionhome/descriptionviewer/DescriptionViewer.vue
Added complete_description attribute to Collection for homepage #12 + Vue.js components to handle display and sart to harmonize javascript
<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>