demo/bundle.js
/**
               * Scroll handler for applying/removing the modifier class
               * on the fixed top app bar.
               */
Scroll handler for applying/removing the modifier class
on the fixed top app bar.
Scroll handler for applying / removing the modifier class on the fixed top app bar .
fixedScrollHandler_() {
                const currentScroll = this.adapter_.getViewportScrollY();
                if (currentScroll <= 0) {
                  if (this.wasScrolled_) {
                    this.adapter_.removeClass(cssClasses$19.FIXED_SCROLLED_CLASS);
                    this.wasScrolled_ = false;
                  }
                } else {
                  if (!this.wasScrolled_) {
                    this.adapter_.addClass(cssClasses$19.FIXED_SCROLLED_CLASS);
                    this.wasScrolled_ = true;
                  }
                }
              }
fixedScrollHandler_ ( ) { const currentScroll = this . adapter_ . getViewportScrollY ( ) ; if ( currentScroll <= 0 ) { if ( this . wasScrolled_ ) { this . adapter_ . removeClass ( cssClasses$19 . FIXED_SCROLLED_CLASS ) ; this . wasScrolled_ = false ; } } else { if ( ! this . wasScrolled_ ) { this . adapter_ . addClass ( cssClasses$19 . FIXED_SCROLLED_CLASS ) ; this . wasScrolled_ = true ; } } }
Scroll handler for applying/removing the modifier class
 on the fixed top app bar.
Scroll handler for applying / removing the modifier class on the fixed top app bar .