Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Callback when user click outside editor dialog. #473

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

chicomarques90
Copy link

It provides a way to call a function when clicking outside the editor.
This can be used to resolve #416 whithout using ng-blur on "Roll Your Own" Edit Dialogs.

To use the new functionality simply enable "clickOutsideToClose" and suply a "clickOutsideCallback" function to be called when clicking outside editor dialog.

The Demo has been update to explain this new functionality.

Copy link

@ilsaha ilsaha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very useful feature

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Saving the content of the edit dialog when the backdrop is clicked on
2 participants