File

core/bottom-drawer/bottom-drawer.service.ts

Description

Allows to open a component in a bottom drawer.

Index

Methods

Constructor

constructor(applicationRef: ApplicationRef, router: Router)
Parameters :
Name Type Optional
applicationRef ApplicationRef No
router Router No

Methods

openDrawer
openDrawer(component: Type, options?: DrawerOptions)
Type parameters :
  • C

Opens the provided component in a bottom drawer.

Parameters :
Name Type Optional Description
component Type<C> No

The component type to render in a bottom drawer.

options DrawerOptions<C> Yes

(optional) Additional options to configure bottom drawer.

Returns : BottomDrawerRef<C>

A reference to the bottom drawer.

results matching ""

    No results matching ""