Preparing search index...
The search index is not available
@use-pico
@use-pico
@use-pico/client
event
Function event
Typed event source handler.
event
<
TSchema
>
(
type
,
schema
,
handler
)
:
Handler
<
TSchema
>
Type Parameters
TSchema
extends
ZodType
<
any
,
ZodTypeDef
,
any
>
Parameters
type
:
string
schema
:
TSchema
handler
:
(
(
data
)
=>
void
)
(
data
)
:
void
Handler to handle the event when schema is successfully parsed.
Parameters
data
:
TypeOf
<
TSchema
>
Returns
void
Returns
Handler
<
TSchema
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@use-pico
Loading...
Typed event source handler.