This support forum belongs to the Overlay Extras Gallery Module.
Overlay Extras has a bug tracker here: http://github.com/ericf/yui3-gallery/issues
| Page 1 of 1 | [ 5 posts ] |
|
Is it possible to add escape as a key press event to trigger the auto hide? It would be great if these were uncoupled from each other so that one could add escape autohide without having the lose focus autohide enabled.
|
|
Are you thinking: add a feature to the Autohide plugin to hide on escape keypress, and also make configurable via ATTRS which events: escape keypress, focusoutside, clickoutside are enabled that will cause the Overlay to hide itself?
|
|
I was thinking more as a separate plugin, but making the existing autohide plugin configurable maybe worth it as well.
I'm a fan of minimal code so plugging in a new plugin will be less code, while a configuration will provide more power. |
|
So I imagine these being simple boolean config attrs, so it will be less code to keep it all in one Plugin and I'll have the three auto-hide options enabled by default.
|
|
I committed a change to add support for escape-press. I also made the attrs configurable. Not super psyched about how I named them, let me know if you have any ideas on attr names.
clickedOutside, focusedOutside, pressedEscape are the ATTRS http://github.com/ericf/yui3-gallery/co ... c7eb3d1891 |
| Page 1 of 1 | [ 5 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group