Skip to content

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

Open
zkirkland wants to merge 5 commits intoorangehill:masterfrom
zkirkland:master
Open

Add callback control for buttons, control over modal show/hide, control over timer reset.#50
zkirkland wants to merge 5 commits intoorangehill:masterfrom
zkirkland:master

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