defineContexts
defineContexts<
C>(contexts?):C
Defined in: plugins/actions/methods.ts:11
Define the contexts for the actions.
Type Parameters
Section titled “Type Parameters”C extends UserContexts = UserContexts
Parameters
Section titled “Parameters”contexts?
Section titled “contexts?”C
The contexts to define.
Returns
Section titled “Returns”C
Default
Section titled “Default”['default', 'game', 'menu', 'pause', 'popup', 'default']