Skip to content

SideEntityController

@firecms/core


@firecms/core / SideEntityController

Defined in: types/side_entity_controller.tsx:90

Controller to open the side dialog displaying entity forms

close: () => void

Defined in: types/side_entity_controller.tsx:94

Close the last panel

void


open: <M>(props) => void

Defined in: types/side_entity_controller.tsx:105

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).

M extends Record<string, any> = any

EntitySidePanelProps<M>

void


replace: <M>(props) => void

Defined in: types/side_entity_controller.tsx:111

Replace the last open entity panel with the given one.

M extends Record<string, any> = any

EntitySidePanelProps<M>

void