The <luna-drawer> component provides slide-out panels from any edge with overlay and contained modes.
Paths
/lunadom/components/drawer/drawer.js Placement Options
Modify your account preferences here.
This drawer slides from the start and has a custom width.
Scroll down to see isolated scrolling...
New events since your last visit.
> _
Contained Drawer
This content is inside a
Open Contained Drawer
position: relative container.
I am contained to the parent div!
Customization
title - Title content for the drawerdefault - Main content for the drawerfooter - Footer content for actionsplacement - Edge to slide from (start, end, top, bottom)contained - Whether drawer is contained to parentinitial-focus - A selector for the element to receive focus when the drawer opens--luna-drawer-size - Width or height of the drawer--luna-bg - Drawer background color--luna-color - Text color within the drawer--luna-border - Border color for segments and edges--luna-overlay-bg - Background color of the backdrop overlay--luna-transition-speed - Animation duration for slide and fadeluna-show - Emitted when the drawer opensluna-hide - Emitted when the drawer closesluna-request-close - Emitted when the drawer attempts to close (via close button, ESC, or overlay). Can be cancelled.