package
Confirmation component
npm install confirmation-componentGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Confirmation component with structural styling to give you a clean slate. Built on the Dialog component.

$ npm install confirmation-componentshow the confirmation is shownhide the confirmation is hiddencancel the user closed the confirmation or cancelledok the user acceptedDisplay a confirmation dialog with a msg only.
Display a confirmation dialog with title and msg.
By default the "cancel" button is focused, however you
may invoke .focus('ok').
Set cancel button text.
Set cancel ok text.
Show the confirmation and invoke fn with
a boolean representing the user's choice.
View the Dialog API for
additional methods such as .modal(), .closable() etc.
MIT
Registry package owners.
Estimated unpacked size across 13 packages.
738.0 kB
Includes dependencies.