You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
342 B
13 lines
342 B
export interface scrollLockOptions {
|
|
container: HTMLElement;
|
|
}
|
|
export default class ScrollLocker {
|
|
private lockTarget;
|
|
private options;
|
|
constructor(options?: scrollLockOptions);
|
|
getContainer: () => HTMLElement | undefined;
|
|
reLock: (options?: scrollLockOptions) => void;
|
|
lock: () => void;
|
|
unLock: () => void;
|
|
}
|