demo/bundle.js
/**
               * Scroll handler for applying/removing the collapsed modifier class
               * on the short top app bar.
               * @private
               */
Scroll handler for applying/removing the collapsed modifier class
on the short top app bar.
@private
Scroll handler for applying / removing the collapsed modifier class on the short top app bar . @private
shortAppBarScrollHandler_() {
                const currentScroll = this.adapter_.getViewportScrollY();
                if (currentScroll <= 0) {
                  if (this.isCollapsed) {
                    this.adapter_.removeClass(cssClasses$19.SHORT_COLLAPSED_CLASS);
                    this.isCollapsed = false;
                  }
                } else {
                  if (!this.isCollapsed) {
                    this.adapter_.addClass(cssClasses$19.SHORT_COLLAPSED_CLASS);
                    this.isCollapsed = true;
                  }
                }
              }
shortAppBarScrollHandler_ ( ) { const currentScroll = this . adapter_ . getViewportScrollY ( ) ; if ( currentScroll <= 0 ) { if ( this . isCollapsed ) { this . adapter_ . removeClass ( cssClasses$19 . SHORT_COLLAPSED_CLASS ) ; this . isCollapsed = false ; } } else { if ( ! this . isCollapsed ) { this . adapter_ . addClass ( cssClasses$19 . SHORT_COLLAPSED_CLASS ) ; this . isCollapsed = true ; } } }
Scroll handler for applying/removing the collapsed modifier class
 on the short top app bar.
Scroll handler for applying / removing the collapsed modifier class on the short top app bar .