This PR extracts the current GiveModal class into a new separate class which has a more simplified uniformed API, and it adds support for the missing onClose callback option.
Affects
Modal popup logic.
Pre-review Checklist
[x] Acceptance criteria satisfied and marked in related issue
[x] Relevant @since tags included in DocBlocks
[x] Changes logged to the Unreleased section of CHANGELOG.md
Resolves #13
Description
This PR extracts the current GiveModal class into a new separate class which has a more simplified uniformed API, and it adds support for the missing
onClose
callback option.Affects
Modal popup logic.
Pre-review Checklist
@since
tags included in DocBlocksUnreleased
section ofCHANGELOG.md