stickNav map elements switch active when scrolling

This commit is contained in:
2021-05-23 11:13:21 +02:00
parent d35e1fe21e
commit 1fbda740a7
3 changed files with 22 additions and 12 deletions

View File

@@ -23,11 +23,8 @@ export default {
props: ['item', 'step'],
computed: {
isActive() {
return true;
return this.item.active;
}
}
}
</script>
<style lang="css" scoped>
</style>