defineActions
defineActions<
C
,U
>(contexts
,actions
,useDefaultActions
):U
Defined in: plugins/actions/methods.ts:15
Type Parameters
Section titled “Type Parameters”C
extends UserContexts
= UserContexts
U
extends Partial
<ActionMap
<UserContexts
>> = Partial
<ActionMap
<C
>>
Parameters
Section titled “Parameters”contexts
Section titled “contexts”C
actions
Section titled “actions”U
useDefaultActions
Section titled “useDefaultActions”boolean
= true
Returns
Section titled “Returns”U