license import { MDCFoundation } from '@material/base/foundation' ; import { MDCTopAppBarAdapter } from './adapter' ; import { cssClasses , numbers , strings } from './constants' ; export class MDCTopAppBarBaseFoundation extends MDCFoundation < MDCTopAppBarAdapter > { static override get strings ( ) { return strings ; } static override get cssClasses ( ) { return cssClasses ; } static override get numbers ( ) { return numbers ; } /**
     * See  MDCTopAppBarAdapter for typing information on parameters and return types.
      static override get defaultAdapter ( ) : MDCTopAppBarAdapter { return { addClass : ( ) => undefined , removeClass : ( ) => undefined , hasClass : ( ) => false , setStyle : ( ) => undefined , getTopAppBarHeight : ( ) => 0 , notifyNavigationIconClicked : ( ) => undefined , getViewportScrollY : ( ) => 0 , getTotalActionItems : ( ) => 0 , } ; } constructor ( adapter ? ) { super ( { ... MDCTopAppBarBaseFoundation . defaultAdapter , ... adapter } ) ; } /** Other variants of TopAppBar foundation overrides this method */ handleTargetScroll ( ) { } /** Other variants of TopAppBar foundation overrides this method */ handleWindowResize ( ) { } handleNavigationClick ( ) { this . adapter . notifyNavigationIconClicked ( ) ; } } export default MDCTopAppBarBaseFoundation ;