ngx-eagle
Version:
UI component infrastructure and Design components for mobile and desktop Angular web applications.
12 lines (11 loc) • 423 B
text/typescript
const DrawerPlacement = ['top', 'right', 'bottom', 'left'] as const;
export type DrawerPlacement = (typeof DrawerPlacement)[number];
export interface DrawerConfig {
backdrop?: boolean;
backdropClosable?: boolean;
placement?: DrawerPlacement;
closeMobile?: boolean;
closeDesktop?: boolean;
onOpen: () => void | undefined;
onClose: () => void | undefined;
}