@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
13 lines (12 loc) • 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;
}