fix(core): update

This commit is contained in:
2021-09-01 22:44:43 +02:00
parent aabda883cd
commit 122c535dec
3 changed files with 10 additions and 10 deletions

View File

@ -175,7 +175,7 @@ export class DeesStepper extends DeesElement {
this.setScrollStatus();
}
public scroller: typeof domtools.plugins.sweetScroll.prototype;
public scroller: typeof domtools.plugins.SweetScroll.prototype;
public async setScrollStatus() {
await domtools.plugins.smartdelay.delayFor(50);
@ -191,7 +191,7 @@ export class DeesStepper extends DeesElement {
console.log(scrollPosition);
const domtoolsInstance = await domtools.DomTools.setupDomTools()
if (!this.scroller) {
this.scroller = new domtools.plugins.sweetScroll({
this.scroller = new domtools.plugins.SweetScroll({
vertical: true,
horizontal: false,
easing: 'easeInOutQuint'