Purpose of ‘ref’ attribute in Vue.js