Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add callback control for buttons, control over modal show/hide, control over timer reset. #50

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

Conversation

zkirkland
Copy link

I don't understand how to use Grunt yet. I know this is against guidelines outlined at the bottom of the README file if I do not use Grunt for testing and linting. I apologize for this. I hope you will consider the changes regardless.

added options: logoutButtonCallback, keepAliveButtonCallback, activityHidesModal, resetTimerWhileModalOpen, isModalStatic.
* logoutButtonCallback, keepAliveButtonCallback (default: false)
** gives user ability to set custom callbacks for the buttons
* activityHidesModal (default: true)
** allows the user to ensure the modal does not hide on mouse/keyboard activity
* resetTimerWhileModalOpen (default: true)
** allows user to disable timer reset while the modal is open.
* isModalStatic (default: false)
** allows user to keep disable dismissal of the modal by clicking outside of the modal or pressing escape.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant