Interface

ActionJSON

ActionJSON

Members

'record' | 'resource' | 'bulk'

# actionType

Type of an action

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 14

string | false | null

# component Optional

Action component. When set to false action will be invoked immediately after clicking it, to put in another words: there wont be an action view

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 41

string | number | Array.<(string|number)>

# containerWidth

containerWidth passed from the action setup.

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 58

string

# guard Optional

Guarding message which should be presented in alert() after clicking the action button

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 30

boolean

# hideActionHeader

Whether given action have an action header

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 53

string

# label

Action label - visible on the frontend

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 25

string

# resourceId

Id of a resource to which given action belongs.

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 63

boolean

# showFilter

If action should have a filter (for resource actions)

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 36

boolean

# showInDrawer

Whether given action should be seen in a drawer

View Source admin-bro/src/backend/decorators/action-json.interface.ts, line 48