Skip to content

Commit

Permalink
Merge pull request #2574 from bobrippling/feat/typescript-menu-scroller
Browse files Browse the repository at this point in the history
typescript: add menu scroller
  • Loading branch information
gfwilliams authored Nov 7, 2024
2 parents 138e069 + 4f852e7 commit dd66304
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libs/pixljs/jswrap_pixljs.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,16 @@ type MenuInstance = {
draw: () => void;
move: (n: number) => void;
select: () => void;
scroller?: MenuScroller; // BangleJS 2
};
/**
* Menu scroller.
*\/
type MenuScroller = {
scroll: number;
};
*/

/*JSON{
Expand Down

0 comments on commit dd66304

Please sign in to comment.