orlyyani / read-more

A Vue.js read more plugin
MIT License
110 stars 34 forks source link

v-model support #14

Open chongma opened 5 years ago

chongma commented 5 years ago

would be great if this component could be linked to a boolean through v-model so that it is possible to tell if it is open or closed. e.g. <read-more v-model="isReadMore" :text="body" ... /> in the template and data() {return{ isReadMore:false,body:'The text i want to show'}} in the script. hope that makes sense