Skip to content

Add a modal Drawer component#248

Open
afarber wants to merge 6 commits intopixijs:mainfrom
afarber:add-modal-drawer
Open

Add a modal Drawer component#248
afarber wants to merge 6 commits intopixijs:mainfrom
afarber:add-modal-drawer

Conversation

@afarber
Copy link
Contributor

@afarber afarber commented Nov 20, 2025

Add a Drawer component to PixiUI for sliding panels that attach to screen edges:

  • Support four positions: bottom, top, left, right
  • Automatically span full screen width (top/bottom) or height (left/right)
  • Support backdrop with closeOnBackdropClick to dismiss on tap
  • Enable swipe-to-close gestures
  • Accept Graphics, Sprites, Textures, or texture names via GetViewSettings
  • Support NineSliceSprite backgrounds for scalable borders
  • Emit onClose signal when drawer closes
  • Include open/close animations using tweedle.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant