[WIP] add documentation for onRequestClose function #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey 馃憢
First of all, thank you for such a great library - it worked beautifully for my usecase and I found it very straightforward to use.
I've noticed you didn't very openly advocate the inbuilt function "onRequestClose" and therefore thought it would be awesome to add it to the docs.
I discovered it more or less by accident, and it provided me with the opportunity to leave the modal and return to a previous modal which was very useful. Happy to rework the PR or add the info at another stage, but I think it would be awesome if it is documented somehow that it can be used to close the dropdowns or modals!