SideEntityController
@firecms/core / SideEntityController
Interface: SideEntityController
Section titled “Interface: SideEntityController”Defined in: types/side_entity_controller.tsx:90
Controller to open the side dialog displaying entity forms
Properties
Section titled “Properties”close()
Section titled “close()”close: () =>
void
Defined in: types/side_entity_controller.tsx:94
Close the last panel
Returns
Section titled “Returns”void
open()
Section titled “open()”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).
Type Parameters
Section titled “Type Parameters”M extends Record<string, any> = any
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
replace()
Section titled “replace()”replace: <
M>(props) =>void
Defined in: types/side_entity_controller.tsx:111
Replace the last open entity panel with the given one.
Type Parameters
Section titled “Type Parameters”M extends Record<string, any> = any
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void