Skip to content

Commit

Permalink
Improve book player
Browse files Browse the repository at this point in the history
  • Loading branch information
koreapyj committed Dec 26, 2024
1 parent bdb1841 commit cf7ee7c
Show file tree
Hide file tree
Showing 8 changed files with 730 additions and 346 deletions.
5 changes: 3 additions & 2 deletions src/components/actionSheet/actionSheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function getOffsets(elems: Element[]): Offset[] {
return results;
}

function getPosition(positionTo: Element, options: Options, dlg: HTMLElement) {
export function getPosition(positionTo: Element, options: Options, dlg: HTMLElement) {
const windowSize = dom.getWindowSize();
const windowHeight = windowSize.innerHeight;
const windowWidth = windowSize.innerWidth;
Expand Down Expand Up @@ -387,5 +387,6 @@ export function show(options: Options) {
}

export default {
show: show
show,
getPosition,

Check failure on line 391 in src/components/actionSheet/actionSheet.ts

View workflow job for this annotation

GitHub Actions / Quality checks 👌🧪 / Run lint 🕵️‍♂️

Unexpected trailing comma
};
Loading

0 comments on commit cf7ee7c

Please sign in to comment.