Skip to content

Commit 245ed5d

Browse files
authored
docs(scrollspy): Minor example update
1 parent efcf92c commit 245ed5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/directives/scrollspy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default {
9292
methods: {
9393
// Convenience method to scroll an element that is offscreen into view
9494
// Not required for ScrollSpy to work
95-
scrollInView($event) {
95+
scrollIntoView($event) {
9696
const href = $event.target.getAttribute('href');
9797
if (href) {
9898
const el = document.querySelector(href);

0 commit comments

Comments
 (0)