@polargold/pg-frontend-vue
Preparing search index...
UseApiOptions
Interface UseApiOptions<ReturnValue, Parameters>
interface
UseApiOptions
<
ReturnValue
,
Parameters
>
{
callback
:
(
parameters
?:
Parameters
)
=>
ReturnValue
;
onError
?:
(
errors
?:
unknown
)
=>
void
;
onFinally
?:
()
=>
void
;
onSuccess
?:
(
data
?:
ReturnValue
)
=>
void
;
}
Type Parameters
ReturnValue
Parameters
Index
Properties
callback
on
Error?
on
Finally?
on
Success?
Properties
callback
callback
:
(
parameters
?:
Parameters
)
=>
ReturnValue
Optional
on
Error
onError
?:
(
errors
?:
unknown
)
=>
void
Optional
on
Finally
onFinally
?:
()
=>
void
Optional
on
Success
onSuccess
?:
(
data
?:
ReturnValue
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
callback
on
Error
on
Finally
on
Success
@polargold/pg-frontend-vue
Loading...