Class

useAction

useAction

Type Definitions

object

# UseActionResult

Result of the useAction.
Properties:
Name Type Description
href string | null

Href to an action. When null it means that action doesn't have neither component nor action, handler

callApi UseActionResultCallApi.<K>

function which will call the API

handleClick function

ready handleClick handler

View Source adminjs/src/frontend/hooks/use-action/use-action.types.ts, line 12