fix(scroller): Rename method from scrollToElement to toElement for consistency
This commit is contained in:
@ -30,7 +30,7 @@ export class Scroller {
|
||||
/**
|
||||
* Scrolls to a given element with options.
|
||||
*/
|
||||
public async scrollToElement(
|
||||
public async toElement(
|
||||
elementArg: HTMLElement,
|
||||
optionsArg: Parameters<typeof this.sweetScroller.toElement>[1]
|
||||
) {
|
||||
|
Reference in New Issue
Block a user