amis-rpc-design/node_modules/rc-util/lib/Dom/scrollLocker.d.ts
2023-10-07 19:42:30 +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;
}