Skip to content

useConfirmationController

Overview

Creates a ConfirmationController.

Signature

useConfirmationController(options)

Parameters

NameTypeRequiredDescription
optionsobjectno

options Properties

NameTypeRequiredDefaultDescription
noConsumerWarningstringMessage logged via console.warn when request() fails closed because no consumer is registered. Callers should point developers at how to mount a dialog for their composable; a generic message is used when omitted.

Returns

ConfirmationController

The confirmation controller.

Source

client/lib/use/useConfirmationController.js:56

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2