diff options
-rw-r--r-- | chrome/browser/resources/chromeos/login/header_bar.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/resources/chromeos/login/header_bar.js b/chrome/browser/resources/chromeos/login/header_bar.js index 85aff72..abffe5f 100644 --- a/chrome/browser/resources/chromeos/login/header_bar.js +++ b/chrome/browser/resources/chromeos/login/header_bar.js @@ -226,6 +226,20 @@ cr.define('login', function() { }, }; + /** + * Convenience wrapper of animateOut. + */ + HeaderBar.animateOut = function(callback) { + $('login-header-bar').animateOut(callback); + }; + + /** + * Convenience wrapper of animateIn. + */ + HeaderBar.animateIn = function() { + $('login-header-bar').animateIn(); + } + return { HeaderBar: HeaderBar }; |