Answer the question
In order to leave comments, you need to log in
How to connect jQuery readmore plugin to Vuejs?
I made the output of comments using Vuejs
, everything turns out fine, but I just can’t catch up with how it would be possible to
hide / show the full text, if the comment is large
on the site, the jquery READMORE plugin is already used,
how could I cross them?
or can do it with native vue functions?
I try mounted like this , but it doesn't work
var app = new Vue({
el: '#app',
data: {
reviews: '1',
categories: 'Наши направления ...',
element: '',
el: {
text: '10776fe8-753e-4e50-8dec-59d8d342f8d3',
link: '8fd519e9-0cbc-40fd-96d6-09b37640d07d',
date: '0e0691b3-f551-4976-9759-2bc45a5fa437',
agent: '77e27a2a-01e0-4604-b351-1dc3e5f65656'
}
},
created() {
this.loadPage();
},
methods: {
loadPage: function () {
this.categories = 'Загружаются страны ...';
},
loadCategoryReviews: function (event) {
},
mounted: function(){
jQuery('.readmore-feed').readmore({
speed: 150,
maxHeight: 144
});
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question