0๐
<a class="btn-primary" @click="scrollToAnchorPoint('testBlock')">
Scroll Test
</a>
<div ref="testBlock">
In page anchor point
</div>
<script>
export default{
methods: {
scrollToAnchorPoint(refName) {
const el = this.$refs[refName]
el.scrollIntoView({ behavior: 'smooth'})
}
}
}
</script>
- [Vuejs]-How to set object values to autocomplete text-value in vuetify
- [Vuejs]-Vue + firebase auth output console.log of auth/internal-error instead auth/invalid-password
Source:stackexchange.com