Skip to content
Snippets Groups Projects
Commit 5460e4dc authored by Nick Small's avatar Nick Small Committed by Marijn Haverbeke
Browse files

[dialog addon] Add more options

* closeOnEnter: whether or not the dialog should be closed when you
  press enter with it focused. Defaults to true.

* closeOnBlur: whether or not the dialog should be closed when the
  textfield or button loses focus. Defaults to true.

* onClose: a callback that will be called when the close function
  completes.

* onInput: very similar to onKeyDown, but uses the input event instead
  of keydown. Just an additional event handler basically.
parent f1456764
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment