0π
To invoke a method on a component using $refs
you have to set the ref
property.
Have you set it?
<slick ref="slick" :options="slickOptions"></slick>
- [Vuejs]-Changing style of map elements dynamically
- [Vuejs]-Cant access to JSON Object in a DataTable (JavaScript)(vue.js)
Source:stackexchange.com