mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
222 B
TypeScript
12 lines
222 B
TypeScript
import Vue from "vue";
|
|
import * as VueScrollTo from "vue-scrollto";
|
|
|
|
Vue.use(VueScrollTo);
|
|
|
|
class Test extends Vue {
|
|
mounted() {
|
|
this.$scrollTo(this.$el, {offset: -100});
|
|
this.$scrollTo("#id");
|
|
}
|
|
}
|