Skip to main content
Version: 2.0.0-alpha

Interface: SideDialogsController

Controller to open the side dialog

Properties

sidePanels

sidePanels: SideDialogPanelProps<any>[]

List of side panels currently open

Defined in

lib/src/models/side_dialogs_controller.tsx:16

Methods

close

close(): void

Close the last panel

Returns

void

Defined in

lib/src/models/side_dialogs_controller.tsx:11


open

open<P>(panelProps): void

Open one or multiple side panels

Type parameters

Name
P

Parameters

NameType
panelPropsSideDialogPanelProps<P> | SideDialogPanelProps<P>[]

Returns

void

Defined in

lib/src/models/side_dialogs_controller.tsx:22


replace

replace<P>(panelProps): void

Replace the last open panel with the given one

Type parameters

Name
P

Parameters

NameType
panelPropsSideDialogPanelProps<P> | SideDialogPanelProps<P>[]

Returns

void

Defined in

lib/src/models/side_dialogs_controller.tsx:28