Files
video-gen/video-gen-admin/node_modules/@rc-component/util/es/Dom/scrollLocker.d.ts
T
2026-05-25 17:08:18 +08:00

13 lines
342 B
TypeScript

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;
}