Skip to main content
Version: 2.0.0-alpha

Interface: SideEntityController

Controller to open the side dialog displaying entity forms

Methods​

close​

â–¸ close(): void

Close the last panel

Returns​

void

Defined in​

lib/src/models/side_entity_controller.tsx:62


open​

â–¸ open(props): void

Open a new entity sideDialog. By default, the collection and configuration of the view is fetched from the collections you have specified in the navigation. At least you need to pass the path of the entity you would like to edit. You can set an entityId if you would like to edit and existing one (or a new one with that id). If you wish, you can also override the CollectionOverrideHandler at the FireCMS level.

Parameters​

NameType
propsEntitySidePanelProps<any, User>

Returns​

void

Defined in​

lib/src/models/side_entity_controller.tsx:75


replace​

â–¸ replace(props): void

Replace the last open entity panel with the given one.

Parameters​

NameType
propsEntitySidePanelProps<any, User>

Returns​

void

Defined in​

lib/src/models/side_entity_controller.tsx:81