Interface: SideEntityController
Controller to open the side dialog displaying entity forms
Properties​
close()​
close: () =>
void
Close the last panel
Returns​
void
Defined in​
packages/firecms_core/src/types/side_entity_controller.tsx:79
open()​
open: <
M
>(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).
Type Parameters​
• M extends Record
<string
, any
> = any
Parameters​
• props: EntitySidePanelProps
<M
>
Returns​
void
Defined in​
packages/firecms_core/src/types/side_entity_controller.tsx:90
replace()​
replace: <
M
>(props
) =>void
Replace the last open entity panel with the given one.
Type Parameters​
• M extends Record
<string
, any
> = any
Parameters​
• props: EntitySidePanelProps
<M
>
Returns​
void
Defined in​
packages/firecms_core/src/types/side_entity_controller.tsx:96