core/bottom-drawer/bottom-drawer.service.ts
Service for opening components in a bottom drawer.
Example :```typescript
const drawer = this.drawerService.openDrawer(MyComponent, {
initialState: { data: 'some data' },
disableClickOutside: true
});
Methods |
constructor(applicationRef: ApplicationRef, router: Router)
|
|||||||||
|
Parameters :
|
| openDrawer | ||||||||||||
openDrawer(component: Type
|
||||||||||||
Type parameters :
|
||||||||||||
|
Opens a component in a bottom drawer.
Parameters :
Returns :
BottomDrawerRef<C>
A reference to the bottom drawer instance |