Skip to main content
Version: Next

OnModalKitSubmit

OnModalKitSubmit

The handler to run when a modal is submitted. This handler is called with the interaction as the first argument. If the first argument is null, it means that the interaction collector has been destroyed.

Signature
type OnModalKitSubmit = CommandKitModalBuilderInteractionCollectorDispatch