amis-rpc-design/node_modules/rc-util/lib/Dom/scrollLocker.d.ts

13 lines
342 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;
}