panel-test.html revision 84765788c559bfdead67172a79759ac60c77231b
4015N/A <p>The unit tests found at src/panel/tests/unit-tests.html don't do a great job at testing the auto-focus and hide functionality in panel, so this manual test was created to test those.</p>
4015N/A Create a basic modal panel which focuses when I click outside it, and closes when escape key is pressed</p>
panel = new Y.Panel(cfg);
panel.render();
node: Y.one('#testNode'),
panel = new Y.Panel(cfg);
panel.render();
defaultBtn.on('click', launchDefault);
autohideBtn.on('click', launchAutohide);
nodeAutohideBtn.on('click', launchNodeAutohide);