[Vuejs]-How to use the Slick.js method in another component – Vue

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>

Leave a comment