Files
encoach_frontend_new_v3/node_modules/embla-carousel/esm/components/ScrollTarget.d.ts
Yamen Ahmad 1e688107fa feat: redesign Exams List page to show submitted custom exams
- Added Custom Exams tab showing all exams from Generation page
- Displays title, module badges, duration, and status
- Added Create Exam button
- Kept Exam Sessions tab for institutional sessions
- Search filters across exams

Made-with: Cursor
2026-04-12 11:07:54 +04:00

13 lines
541 B
TypeScript

import { LimitType } from './Limit.js';
import { Vector1DType } from './Vector1d.js';
export type TargetType = {
distance: number;
index: number;
};
export type ScrollTargetType = {
byIndex: (target: number, direction: number) => TargetType;
byDistance: (force: number, snap: boolean) => TargetType;
shortcut: (target: number, direction: number) => number;
};
export declare function ScrollTarget(loop: boolean, scrollSnaps: number[], contentSize: number, limit: LimitType, targetVector: Vector1DType): ScrollTargetType;