Files
game-cards-poker-design/frontend/node_modules/element-plus/es/components/scrollbar/src/util.d.ts
Poker Design Developer 5dbcebf7a2 Fix frontend blank page issues
- Fix router import path in main.js
- Handle Django REST Framework pagination format in API calls
- Add getTemplates function to project API
- Restart frontend development server
2026-05-31 18:40:56 +08:00

36 lines
986 B
TypeScript

import { ThumbProps } from "./thumb.js";
import { CSSProperties } from "vue";
//#region ../../packages/components/scrollbar/src/util.d.ts
declare const GAP = 4;
declare const BAR_MAP: {
readonly vertical: {
readonly offset: "offsetHeight";
readonly scroll: "scrollTop";
readonly scrollSize: "scrollHeight";
readonly size: "height";
readonly key: "vertical";
readonly axis: "Y";
readonly client: "clientY";
readonly direction: "top";
};
readonly horizontal: {
readonly offset: "offsetWidth";
readonly scroll: "scrollLeft";
readonly scrollSize: "scrollWidth";
readonly size: "width";
readonly key: "horizontal";
readonly axis: "X";
readonly client: "clientX";
readonly direction: "left";
};
};
declare const renderThumbStyle: ({
move,
size,
bar
}: Pick<ThumbProps, "move" | "size"> & {
bar: (typeof BAR_MAP)[keyof typeof BAR_MAP];
}) => CSSProperties;
//#endregion
export { BAR_MAP, GAP, renderThumbStyle };