Skip to content

Confirm Modal #39

@soumak77

Description

@soumak77

Create a reusable ConfirmModal modal that can replace window.confirm. The implementation of ConfirmModal should simply use ModalFactory as shown in the docs for the ProgrammaticModal. The following JS options must be configurable for the ConfirmModal:

  • Title
  • Content
  • Enter Callback
  • Cancel Callback

The class confirm-modal can be added to the modal via the ModalFactory class option. This will allows others to style the modal as needed. A more robust SCSS solution can also be implemented.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions