Documentation / @zerotal/admin / index / RenderHookContext
Interface: RenderHookContext
Defined in: admin/src/renderHooks.ts:54
What a hook knows about where it is rendering.
Properties
resource?
optionalresource?:string
Defined in: admin/src/renderHooks.ts:56
Slug of the resource being rendered, when there is one.
page?
optionalpage?:"list"|"record"|"form"|"dashboard"
Defined in: admin/src/renderHooks.ts:58
Which screen: the list, a record, a form, or the dashboard.
recordId?
optionalrecordId?:string
Defined in: admin/src/renderHooks.ts:60
The record's id, on a record or edit screen.